All JIRA users, without any assigned group (on default : Customers), can only access the Customer Portal. First if JIRA users are assigned to a group with access permissions, they can access JIRA and are counted to the Atlassian license. That means customers are not counted to the license.