let
num_bins hist =
Array
.length hist.counts