count.py: count the occurs