public function countRows($statement) { if ($statement !== FALSE) { return $statement->rowCount(); } }