function NumCommands()

Returns the number of command line arguments passed to the program on start