Modified test_counting_single.py to pass the tests.