Use correct grammar for error message.

When the number of parameters is 1, then 'parameter' should remain singular.
Otherwise pluralize it.