License counting for ESM Agents