ruby script to output number of occurrences of all values in a column of a csv