def _server_group_count_members_by_user(context, group, user_id):
    return group.count_members_by_user(user_id)
Helper method to avoid referencing objects.InstanceGroup on import.
dataset/ETHPy150Open openstack/nova/nova/quota.py/_server_group_count_members_by_user