Update general_counter.py