title: Count Records Returned MySQL Doctrine
body: <p>How do I check the number of records returned from a search of my MySQL database 
  with a statement like this: </p>
  
  <pre><code>$searchKey = 'Something to search for'; 
  $searchResults = Doctrine::getTable('TableName')-&gt;createQuery('t')- 
      &gt;where('columnName LIKE ?','%'.$searchKey.'%')-&gt;execute(); 
  </code></pre>