Added getNumValues to the public API for IntHistogram and
StringHistogram