Retrieves member count per badge.
The getMemberCountsPerBadge
function returns a Promise that resolves when the member counts of each badge are retrieved.
This function is not a universal function and runs only on the backend.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.