title: iPhone how to get a running tally of unique items in an Array?
body: <p>Lets say I have an NSArray full of animal objects and their names are string attributes.
  As I iterate through the array, how would I get a running tally of similar names?</p>
  
  <p>Cat - Bob     count:1</p>
  
  <p>Dog - Sally   count:1</p>
  
  <p>Cat - Bob     count:2</p>
  
  <p>Bunny - Bob   count:3</p>
  
  <p>Fish - Sally  count:2</p>
  
  <p>How would I get these ints if the names are dynamic, not static?</p>