def count_values(*values)
      values.inject(Hash.new(0)) { |h, v| h[v] += 1; h }
    end
def count_values(*values)
      values.inject(Hash.new(0)) { |h, v| h[v] += 1; h }
    end
Returns a hash where the keys are the values in the passed array and the
 values are the number of times that value appears in the list.