docs: public static <E> void saveCounter(Counter<E> c, OutputStream stream) {
      PrintStream out = new PrintStream(stream);
      for (E key : c.keySet()) {
        out.println(key + " " + c.getCount(key));
      }
    }