Adding real time counter