Extension librariesSitemapMethodsSitemap::countVersion: Fegg 5.xOn this pageSitemap::count Number of URLs added Description public int Sitemap::count() Returns the number of URLs in the sitemap (a URL added twice counts once). Example Controlleruse Fegg\Tool\Sitemap;$sitemap = new Sitemap();$sitemap->add('/')->add('/news/')->add('/');$sitemap->count(); // 2