title: Cakephp 2.5 subtract count from unset array operation
body: <p>I am using CakePHp 2.5 and need to remove some results from the query:</p>
  
  <pre><code>$this-&gt;paginate = $paginate; 
  $results = $this-&gt;paginate('services'); 
  foreach($results as $key=&gt;$data ) 
  { 
      if( empty( $dado['services']['service_id'] ) ) 
      { 
          unset($results[$key]); 
      }
  </code></pre>
  
  <p>The result count will keep the original count.</p>
  
  <p>Is there a way to subtract, the paginate query count, when i do unset the query results? </p>
  
  <p>Looking at the <a href="http://api.cakephp.org/2.6/class-PaginatorComponent.html" rel="nofollow">Paginator class</a> can not see if there is a property with the result count information.</p>