public function getRowsCount()
    {
        if (is_null($this->summaryRow)) {
            return count($this->rows);
        } else {
            return count($this->rows) + 1;
        }
    }
public function getRowsCount()
    {
        if (is_null($this->summaryRow)) {
            return count($this->rows);
        } else {
            return count($this->rows) + 1;
        }
    }
public function getRowsCount ( ) { if ( is_null ( $ this -> summaryRow ) ) { return count ( $ this -> rows ) ; } else { return count ( $ this -> rows ) + 1 ; } }
Returns the number of rows in the table including the summary row.

@return int
Returns the number of rows in the table including the summary row .