added 1st external: numargs

added numargs, gets the number of arguments for the canvas.