Hello fellow member's of AO. I need to clear something up between a friend and me. He's saying their are actually 65,536 ports, I'm saying their are 65,535 port's. So which one is correct? Now I already searched google found this URL which has been posted here before http://www.iana.org/assignments/port-numbers

And it state's:

The port numbers are divided into three ranges: the Well Known Ports,
the Registered Ports, and the Dynamic and/or Private Ports.

The Well Known Ports are those from 0 through 1023.

The Registered Ports are those from 1024 through 49151

The Dynamic and/or Private Ports are those from 49152 through 65535
So my question is are their 65,535 or 65,536 ports? Thank you and all help is greatly appreciated.