add observed_counter.py