A simple counter
nA simple counter’s responsibilities:
u
uKnow (one query):
u the value of the count
uDo (two commands):
u set the count to 0
u increment the count by 1