Re: Community statics
Hi, sorry for the late reply.
You’ll have to create your own function that uses a SQL query to grab the count of people matching that particular xprofile field.
For hints, check out any of the functions that uses a SQL query and “count” in /buddypress/bp-core/bp-core-classes.php