This article provides information on how IPAM determines license utilization.
All versions of IPAM
The following IP Address Statuses count towards your IPAM license:
Run the following query against your database to return the total number of used, transient & reserved addresses:
SELECT COUNT (*) FROM IPAM_Node WHERE Status IN (1, 4, 8)