Updated checking for number of argparse vars.

Argparse provides a Namespace object, which cannot be tested with
`len()`, but using `vars()` it can be.