ARGCOUNT

ARGCOUNT is an integer value that indicates the number of arguments that were used to call the UDX. The ARGCOUNT variable is generally used with a VARARGS UDX since the number of arguments passed to the UDX is not known until runtime.