class RuboCop::Cop::Style::NumberedParametersLimit

def max_count

def max_count
  max = cop_config.fetch('Max', DEFAULT_MAX_VALUE)
  # Ruby does not allow more than 9 numbered parameters
  [max, 9].min
end