code: public static <T> Multiset<Integer> histogram(Multiset<T> data) {
      return histogram(data, Ordering.<Integer>natural());
    }
docs: Returns a {@link Multiset} whose elements are the counts of the elements in the input
  {@link Multiset}.  This is most useful for generating histograms.  The histogram
  elements will be in ascending order.