# File lib/eymiha/util/histogram.rb, line 25 def count(check_keys = keys) check_keys = [check_keys] if ! check_keys.kind_of? Array count = 0 check_keys.each { |key| count += self[key] if has_key? key } count end