Answer
License consumption is usually tracked against a specific license-type attribute on the person/resource record, not simple login counts — query for records flagged with that license type rather than estimating from active-user counts, and remember that creating the record alone isn't necessarily sufficient to consume a license correctly.