code: public static <E> Counter<E> asCounter(Collection<E> c) {
      Counter<E> count = new ClassicCounter<E>();
      for (E elem : c) {
        count.incrementCount(elem);
      }
      return count;
    }
docs: Takes in a Collection of something and makes a counter, incrementing once
  for each object in the collection.
  
  @param c
  The Collection to turn into a counter
  @return The counter made out of the collection