docs: public double getCount(Object key) {
      Number count = map.get(key);
      if (count == null) {
        return defaultValue; // haven't seen this object before -> default count
      }
      return count.doubleValue();
    }