In the confluence support page you write the following:
Understanding the user count for your license
The number of registered users allowed on your Confluence site may be limited, depending on your license type.
The License Details page will indicate the number of users currently signed up (your registered user count). It:
includes only users who have the 'can use' global permissions for the Confluence site.
does not include anonymous users, who may access your Confluence site if you have allowed anonymous access.
does not include deactivated users .
Just for confirmation (as we are a 60k employee company but have only 100 licenses left), if I enable anonymous access to a specific space and have e.g. 1000 anonymous user access the space, this will not impact my number of left licences?