A simple time counter.