Add an error message if number of arguments is incorrect