updating dict
added a Testing.py to count categories