Updated count.py and fixed parsing error.