modify expected_counter.py