Reset key counter.