Google Interview Question

How to implement an infinite counter.