code: public int totalSize() {
          int size = 0;
          for (F first: keySet()) {
              size += getCounter(first).size();
          }
  
          return size;
      }
docs: This method returns total number of elements in this CounterMap
  @return