more precise counter

by comparing current time and started time each time to count up.