Using UMRA to manage our Microsoft licenses requires knowing the SKUs for the service plans and license plans.
To install AzureAD PowerShell module
Install-Module -Name AzureAD
Assigning all license SKU groups to $licenses
$licenses = Get-AzureADSubscribedSku
View all individual service plans SKUs within their license SKUs. Array is zero based
$licenses[<index>].ServicePlans
You can simply count after displaying the license SKUs.
Get-AzureADSubscribedSku | Select SkuPartNumber