docs: static String countDuplicatesAndAddTypeInfo(Iterable<?> itemsIterable) {
      Collection<?> items = iterableToCollection(itemsIterable);
      Optional<String> homogeneousTypeName = getHomogeneousTypeName(items);
  
      return homogeneousTypeName.isPresent()
          ? lenientFormat("%s (%s)", countDuplicates(items), homogeneousTypeName.get())
          : countDuplicates(addTypeInfoToEveryItem(items));
    }