private function getNumberOfSitemap(array $urlEntries)
    {
        $total = count($urlEntries);

        if ($total <= $this->maxPerSitemap) {
            return 1;
        }

        return intval(ceil($total / $this->maxPerSitemap));
    }
private function getNumberOfSitemap(array $urlEntries)
    {
        $total = count($urlEntries);

        if ($total <= $this->maxPerSitemap) {
            return 1;
        }

        return intval(ceil($total / $this->maxPerSitemap));
    }
private function getNumberOfSitemap ( array $ urlEntries ) { $ total = count ( $ urlEntries ) ; if ( $ total <= $ this -> maxPerSitemap ) { return 1 ; } return intval ( ceil ( $ total / $ this -> maxPerSitemap ) ) ; }
Get number of sitemap.

@param array|UrlEntryInterface[] $urlEntries

@return int
Get number of sitemap .