code: private static <E> Counter<Integer> collectCountCounts(Counter<E> counts) {
      Counter<Integer> cc = new ClassicCounter<Integer>(); // counts of counts
      for (Map.Entry<E, Double> entry : counts.entrySet()) {
        //E item = entry.getKey();
        Integer count = (int) Math.round(entry.getValue());
        cc.incrementCount(count);
      }
      return cc;
    }
docs: /* Helper to simpleGoodTuringSmoothedCounter()