title: Is it possible to count all with where condition in codeiginter?
body: <p>I am trying to do something like this</p>
  
  <pre><code>$this-&gt;db-&gt;count_all("grant_money")-&gt;where('id',5);
  </code></pre>
  
  <p>is it possible ?</p>
  
  <p>if there is any another way to do this please let me know.Thanks</p>
  
  <p>I want to do this query in single line code Like I tried above</p>