a counter is used for working on