def incr(self, key, to_add=<NUM_LIT:1>):
if key not in self.value:<EOL><INDENT>self.value[key] = CountMetric()<EOL><DEDENT>self.value[key].incr(to_add)<EOL>
Increments the value of a given key by ``to_add``