This method will be deprecated on April 18, 2026.
Replace with queryBadgeAssignments.
Retrieves a member count per badge.
This method is not universal function and only runs on the backend.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.