title: how to count $dataProvider items
body: <p>how can i count data that will retrieved by $dataProvider ?
  i've tried to use this code,</p>
  
  <pre><code>       $dataProvider = new CActiveDataProvider('Model');
         $dataProvider-&gt;totalItemCount;
  </code></pre>