kernel/classes/ezcontentobjecttreenode.php
static function fetchListCount()
    {
        $sql = "SELECT count( node_id ) as count FROM ezcontentobject_tree";
        $db = eZDB::instance();
        $rows = $db->arrayQuery( $sql );
        return $rows[0]['count'];
    }
static function fetchListCount()
    {
        $sql = "SELECT count( node_id ) as count FROM ezcontentobject_tree";
        $db = eZDB::instance();
        $rows = $db->arrayQuery( $sql );
        return $rows[0]['count'];
    }
static function fetchListCount ( ) { $ sql = "SELECT count( node_id ) as count FROM ezcontentobject_tree" ; $ db = eZDB :: instance ( ) ; $ rows = $ db -> arrayQuery ( $ sql ) ; return $ rows [ 0 ] [ 'count' ] ; }
Fetches the number of nodes which exists in the system.

@return int
Fetches the number of nodes which exists in the system .