You can use getCount() method to retrieve total number of website available in the system using Magento 2.
You can manually count all the website list from the Admin panel via Stores -> Setting -> All stores. Continue reading “Retrieve total Website count from the System Magento 2.”