Validate number of positional arguments