code: public long getNodesCount() throws RepositoryException
     {
        Statistics s = ALL_STATISTICS.get(NODES_COUNT);
        try
        {
           s.begin();
           return wcs.getNodesCount();
        }
        finally
        {
           s.end();
        }
     }
docs: {@inheritDoc}