Add time counter feature