Counts.py finished and added tests