code: def add_count(option, value, group: nil)
        data = {option: option, value: value}
        if group
          data[:group] = group
        end
        if option.present? && value.present?
          @counts << data
        end
      end
docs: Adds a count.
  
   @param [String] option an option in a vote event
   @param [String] value the number of votes for an option
   @param [String] group a group of voters