Returns the number of program arguments.
Syntax
FUNCTION num_args()
RETURNS INTEGER
Usage
Returns the number of arguments passed to the program.
The function returns 0 if no arguments are passed to the program.
Use the arg_val()
function to get a command line argument at a given position.