title: Count column values Codeigniter
body: <p>SQL:</p>
  
  <p>table name <strong>"videos"</strong></p>
  
  <p>column name <strong>"views"</strong></p>
  
  <p>I wanna count all views and showing in User Page.</p>
  
  <p>Example:</p>
  
  <p>Result SQL:</p>
  
  <p>-- views --
  3239</p>
  
  <p>2918</p>
  
  <p>2345</p>
  
  <p>1928</p>
  
  <p>32329</p>
  
  <hr>
  
  <p>total views: 42759</p>