add counter.py