switching timekeeper from a dict to a counter