Reset the counter if the key is missing.

Reset the count value if the key is missing when incrementing, decrementing, getting the value.

Review @jduff @costford