counting up times correctly