Adds counters to timer instances to improve logging.