Adjusted argument count check