title: Using Containable behavior to filter results in Cakephp 2.2.4
body: <p>I'm using containable behavior and the result of my find('all') is:</p>
  
  <pre><code>array(
      (int) 0 =&gt; array(
          'User' =&gt; array(
              'id' =&gt; '106',
              'email' =&gt; 'daje@daje.it',
              'pwd' =&gt; '0433c024cb08be13000d59a347e640482843f46f177e95749dc6599c259617fd3491dcb940b47693cbbc7f65a2cc5ef62deca2e600c1be133ad54170f7d1fbd1',
              'role_id' =&gt; '3',
              'active' =&gt; '1'
          ),
          'Lead' =&gt; array(
              'id' =&gt; '6'
          ),
          'Estimate' =&gt; array(
              (int) 0 =&gt; array(
                  'lead_id' =&gt; '6',
                  'Estimate' =&gt; array(
                      (int) 0 =&gt; array(
                          'TOT_count' =&gt; '2'
                      )
                  )
              )
          )
      )
  )
  </code></pre>
  
  <p>I need to to count how many estimates there are in the lead.</p>
  
  <p>The total (2) is correct, but i see nested 'Estimated' array, why ?</p>
  
  <p>The result i would like to get is:</p>
  
  <pre><code>array(
      (int) 0 =&gt; array(
          'User' =&gt; array(
              'id' =&gt; '106',
              'email' =&gt; 'daje@daje.it',
              'pwd' =&gt; '0433c024cb08be13000d59a347e640482843f46f177e95749dc6599c259617fd3491dcb940b47693cbbc7f65a2cc5ef62deca2e600c1be133ad54170f7d1fbd1',
              'role_id' =&gt; '3',
              'active' =&gt; '1'
          ),
          'Lead' =&gt; array(
              'id' =&gt; '6'
          ),
          'Estimate' =&gt; array(
            'TOT_count' =&gt; '2'
          )
      )
  )
  </code></pre>
  
  <p>This is the find:</p>
  
  <pre><code>$options = array(
                      'contain' =&gt; array(
                          'User',
                          'Estimate' =&gt; array(
                              'fields' =&gt; 'COUNT(*) AS TOT_count'                             
                          )   
                      ),
                      'conditions' =&gt; array('Lead.id' =&gt; 6),
                      'fields' =&gt; 'User.*',                           
                      'limit' =&gt; 1
  
                  );
  
      debug($this-&gt;Lead-&gt;find('all', $options));
  </code></pre>
  
  <p>How can i do it?
  Thanks!</p>