Calculates a histogram of defined number of slots
array containing values.
options.
result of the histogram.
Calculates a histogram of defined number of slots