title: How to count rows zend framework?
body: <p>Hi i'm trying to get a count of rows but no luck so far maybe there's something with the database becouse i get some strange numbers</p>
  
  <p>here's the database egs</p>
  
  <pre><code>poll_id option_poll_id gender
  1       100            male
  1       100            male
  1       103            femeale
  1       103            male
  </code></pre>
  
  <p>so what i want is that for each option 100 and 103 to get the number of male or femeals</p>
  
  <p>like this option 100 -> 2 male and option 103->1 male
  Thanks in advance.</p>