Implements [Countable::count], returns the total number of rows.
echo count($result);
integer Module_Database_Result::count( )
integer
public function count()
{
if ( null===$this->_total_rows )
{
$this->_total_rows = $this->total_count();
}
return $this->_total_rows;
}