ColumnHistogram class.

Calculates histograms for total/filtered/selected records. Optimized for
common cases.