title: Count equal objects in NSArray
body: <p>I've been trying to figure out a way of checking how many of a certain object are in an <code>NSArray</code>.</p>
  
  <p>I've looked through the docs and I'm pretty sure there is no premade method for this. Also I can't find anything here on SO.</p>
  
  <p>Do anybody know about a good way to do this? Because I seriously can't come up with anything.</p>
  
  <p>In this specific case I have an array with strings (most cases several of each) and I want to count how many strings in the array that matches to  whatever I ask for.</p>