Returns a frequency distribution as a vertical array
=FREQUENCY(data_array, bins_array)
=FREQUENCY(A2:A10, B2:B5)