code: @Nullable static Map<String, Long> getTypeToCountMap() {
      return typeToCountMap != null ? typeToCountMap.getMap() : null;
    }
docs: Used for exporting this data via varz.  Accesses to this
  map must be synchronized on the map.  If enableTypeMaps has not
  been called, this will return null.