title: PHP PDO - Num Rows
body: <p>PDO apparently has no means to count the number of rows returned from a select query (<code>mysqli</code> has the <code>num_rows</code> variable). </p>
  
  <p>Is there a way to do this, short of using <code>count($results-&gt;fetchAll())</code> ?</p>