title: codeigniter v4 num_rows() Call to undefined method
body: <p>Num rows not found in the documentation Codeigniter 4.</p>
  
  <p>My method in my model:</p>
  
  <pre><code>public function getListCat()
  {
      $listCat = $this-&gt;asArray()-&gt;where(['id_user' =&gt; $session-&gt;id])-&gt;get();
      return $listCat-&gt;num_rows();
  </code></pre>
  
  <p>i check "Call to undefined method CodeIgniter\Database\MySQLi\Result::num_rows()"</p>
  
  <p>How i can get "num_rows()" data in Codeigniter 4?</p>