Fixed zero_counter to be accurate.