a counter is used for counting.