Classes/Sitemap/Generator/AbstractGenerator.php
public function pageCount()
    {
        $pageLimit = GeneralUtility::getRootSettingValue('sitemap_page_limit', null);

        if (empty($pageLimit)) {
            $pageLimit = 1000;
        }

        $pageItems = count($this->sitemapPages);
        $pageCount = ceil($pageItems / $pageLimit);

        return $pageCount;
    }
public function pageCount()
    {
        $pageLimit = GeneralUtility::getRootSettingValue('sitemap_page_limit', null);

        if (empty($pageLimit)) {
            $pageLimit = 1000;
        }

        $pageItems = count($this->sitemapPages);
        $pageCount = ceil($pageItems / $pageLimit);

        return $pageCount;
    }
public function pageCount ( ) { $ pageLimit = GeneralUtility :: getRootSettingValue ( 'sitemap_page_limit' , null ) ; if ( empty ( $ pageLimit ) ) { $ pageLimit = 1000 ; } $ pageItems = count ( $ this -> sitemapPages ) ; $ pageCount = ceil ( $ pageItems / $ pageLimit ) ; return $ pageCount ; }
Return page count

@return integer
Return page count