public int getGroupCnt() {
        try {
            csmInfoRWLock.readLock().lock();
            return this.consumerInfoMap.size();
        } finally {
            csmInfoRWLock.readLock().unlock();
        }
    }
Get consumer group count

@return group count
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/nodemanage/nodeconsumer/ConsumeGroupInfo.java