title: cakePHP - how do i get the items count for a related model?
body: <p>The models are: <code>stores</code> and <code>product</code>, and they are associated by:</p>
  
  <pre><code>var $belongsTo = array(
    'Store' =&gt; array(
      'className' =&gt; 'Store',
      'foreignKey' =&gt; 'store_id'
          ))
  
  var $hasMany = array(
    'Product' =&gt; array(
  'className' =&gt; 'Product',
  'foreignKey' =&gt; 'store_id'
      ))
  </code></pre>
  
  <p>I want to get a list of all stores and the count of products they have. How should I modify the call: <code>$this-&gt;Store-&gt;find('all', array(&lt;..some conditions..&gt;))</code> to return that type of data?</p>