/**
  * Returns the number of columns in the result set.
  *
  * Use columnCount() to return the number of columns in the result set
  * represented by the Statement object.
  *
  * If the Statement object was returned from PDO::query(), the column count
  * is immediately available.
  *
  * If the Statement object was returned from PDO::prepare(), an accurate
  * column count will not be available until you invoke Statement::execute().
  * Returns the number of columns in the result set
  *
  * @return integer Returns the number of columns in the result set represented
  *                              by the PDOStatement object. If there is no result set,
  *                              this method should return 0.
  */
 public function columnCount()
 {
     return $this->statement->columnCount();
 }