code: public double incrementCount(E key, double count) {
      if (tempMDouble == null) {
        tempMDouble = new MutableDouble();
      }
      MutableDouble oldMDouble = map.put(key, tempMDouble);
      totalCount += count;
      if (oldMDouble != null) {
        count += oldMDouble.doubleValue();
      }
      tempMDouble.set(count);
      tempMDouble = oldMDouble;
  
      return count;
    }
docs: {@inheritDoc}