Add current available/total licenses to the database for automated retrieval. Currently the only way to automatically pull total licenses is through a script that automates logging in to the web console and navigating to the license details page.
Should be accessible through SQL queries for APM monitors as well as able to be generated into reports.