Define the counters used.