rename counter.py
add parse_category into counter.py