moved count.py