If your goal is to find out how many pages your website has, you can find help through the following methods:
A simple method to gain a basic understanding of the total number of pages on a website is to use the site operator function on Google Search.
Method - site:sitename.com
The best way to determine the number of pages on a website is to use an XML sitemap. A complete list of the URLs on your website, formatted in code, can be found in an XML sitemap.
https://domain.com/sitemap.xml https://domain.com/sitemap_index.xml
Method -