removed debug statement
refactored count to be count of entries in timetrap, not count of a value