Counting code for freq_table
Renamed FreqTable to Histogram