title: in codeigniter, I need to use `count` in such a way that
body: <p>I need a query that gets number of some occurrences. In other words, I need a CodeIgniter method such that query produces something like:</p>
  <pre><code>SELECT COUNT( * ) AS total FROM comments WHERE `level`= 4
  </code></pre>