How is the number of domains counted?

Basically every project that is live and is connected with a domain counts as a domain. If you connect your project with two domains, what you would do if set the www. plus the root it will still be counted as one domain. Projects that are not live are not counted.