system/Database/DatabaseManager.php
/**
     * Count the number of rows in a table or elements in an object
     *
     * @param string|null $column Optional column to perform a count on
     * @return int
     */
Count the number of rows in a table or elements in an object
@param string|null $column Optional column to perform a count on
@return int
Count the number of rows in a table or elements in an object @param string|null $column Optional column to perform a count on @return int
public function count(string $column = null)
    {
        if($column !== null)
        {
            $column = "COUNT($column)";
            return $this->get($column)->{$column};
        }
        return count($this->get());
    }
public function count ( string $ column = null ) { if ( $ column !== null ) { $ column = " COUNT( $ column ) " ; return $ this -> get ( $ column ) -> { $ column } ; } return count ( $ this -> get ( ) ) ; }
Count the number of rows in a table or elements in an object
 @param string|null $column Optional column to perform a count on
 @return int
Count the number of rows in a table or elements in an object @param string|null $column Optional column to perform a count on @return int