code: public static Counters sum(Counters a, Counters b) {
      Counters counters = new Counters();
      counters.incrAllCounters(a);
      counters.incrAllCounters(b);
      return counters;
    }
docs: Convenience method for computing the sum of two sets of counters.