counts.py