Hello
You have different means for measure your license usage in Office 365.Built-in in Microsoft Online module :
Get-MsolUser -All | select UserPrincipalName,Licenses | % {New-Object -TypeName PSObject -Property @{UPN = $_.UserPrincipalName;Licenses = $_.Licenses.AccountSkuId}}
You can also export the result :
Get-MsolUser -All | select UserPrincipalName,Licenses | % {New-Object -TypeName PSObject -Property @{UPN = $_.UserPrincipalName;Licenses = $_.Licenses.AccountSkuId}} | Export-Csv -NoTypeInformation -Delimiter ';' -Path c:tempmsol.csv