Frequencies for barchart
category frequency