code: public Map<String, Long> getMessageCounts(){
          Map<String, Long> counts = new HashMap<>();
          for (QueueConfig queueConfig : queueConfigsList) {
              counts.put(queueConfig.getName(), getMessageCount(queueConfig.getName()));
          }
          return counts;
      }
docs: Returns counts of messages for all queues.
  
  @return map, where a key is a queue name, and value is a number of messages currently in that queue.0