Add time counter