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.
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.