Add histogramType for statistics