Update Counter.cpp

One overflow of the counter means there were 0x10000 ticks (2^16).