code: public Histogram<T> setBucketCount( int count ) {
          if (count != this.bucketCount) {
              this.bucketCount = count;
              this.bucketWidth = null;
              this.buckets.clear();
          }
          return this;
      }
docs: Set the number of buckets that this histogram will use.
  
  @param count the number of buckets
  @return this histogram, useful for method-chaining
  @see #DEFAULT_BUCKET_COUNT