title: How to select MAX or COUNT in fuelPHP Orm Model
body: <p>I've tried these 2 way but failed...<br>
  Is select MAX or COUNT in Model Orm impossible?<br>
  (I have to use Model_Orm, not CRUD or DB)</p>
  
  <h1>1</h1>
  
  <pre><code>Model_Foo::query()
      -&gt;select('MAX("time") AS recent')
      -&gt;group_by("user_id")
      -&gt;get();
  </code></pre>
  
  <p><em>result:</em></p>
  
  <pre><code>Fuel\Core\Database_Exception [ 42000 ]:
  SQLSTATE[42000]: Syntax error or access violation: 
  1064 You have an error in your SQL syntax; 
  check the manual that corresponds to your MySQL server version for the right syntax to use near '`) as recent` AS `t0_c0`
  </code></pre>
  
  <h1>2</h1>
  
  <pre><code>Model_Foo::query()
      -&gt;select(DB::expr('MAX("time") AS recent'))
      -&gt;group_by("user_id")
      -&gt;get();
  </code></pre>
  
  <p><em>result:</em></p>
  
  <pre><code>Fuel\Core\PhpErrorException [ Warning ]:
  Illegal offset type
  </code></pre>