Histogram function would be very helpful. Bonus points if it has a overload that allows for explicitly setting the bins with an array/range.