private void incrementSupportedProtocols(ClassicGroupMember member) {
        member.supportedProtocols().forEach(protocol -> {
            int count = supportedProtocols.getOrDefault(protocol.name(), 0);
            supportedProtocols.put(protocol.name(), count + 1);
        });
    }
Increment the protocol count for all of the member's
supported protocols.

@param member the member.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java