The license count for enabled users so if users are already disabled then it seems it will not count for used license. Please find below link for reference:
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.