keep track of a count