Added some comments on counter.py