Is there an Azure Resource Management API to directly get the number of resources (preferably can be filtered by certain criteria like resource types) within a subscription or resource group?
I know there are ARM APIs to get a list of resources within a subscription or resource group (