Hop count can be understood as a measure of number of jumps required to reach from the source to the destination.
In the example figure from wikipedia, two routers are involved during sending of message/datagram from sender to the receiver. We must look at how the datagram travels from the source to the destination in order to create a vivid picture of hop counts.
When the packet is transmitted from the source, it travels to router 1. Inspecting the destination address, router 1 decides to send the datagram to router 2. This is the first hop.
When router 2 receivers the message, it again inspects the destination address and sends the datagram to the destination node. This is the second hop.So, in all 2 hops were involved.
This is how hop counts are calculated.
Hope it helps!