Reset counter.