If you mean the histogram binsize, then this is calculated automatically using the GUI tool. You can use ENVIRasterStatistics and the Histogram_Binsize keyword to set the resolution of the bin = 1, giving you the pixel count for each value in the raster. https://www.l3harrisgeospatial.com/docs/ENVIRasterStatistics.html
|