NaviServer Built-in Commands – 5.1.0
ns_adp_argc - Return the number of arguments to the current ADP
This command returns the number of arguments passed to the current ADP invocation. The arguments are typically provided via ns_adp_include. The count reflects only the argument values and does not include the name of the ADP itself.
Returns the number of arguments passed to the current ADP.