If the input n was zero, the counter was cleared and set to zero.