Member count for each project area and team area
One answer
Use https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ or any other API.
Check the MBeans for your version if there is information available for what you want.