I want to create a dictionary to count up pressed button text type (number or string).

I wrote some code as,

```
NSNumber *existingCount = [self.counts objectForKey:(anObject)];
[self.counts setObject:[NSNumber numberWithInt:[existingCount  
integerValue]+1]forKey:anObject];

```

Every time I push a button, it adds +1 to counter. But in this case I use `anObject` as key. 

Question is when I push same button twice, does it overwrite old one?