Retrieves member count per badge.
The getMemberCountsPerBadge function returns a Promise that resolves when the member counts of each badge are retrieved.
getMemberCountsPerBadge
This function is not a universal function and runs only on the backend.