public int getNumArgs() {
        return args.size();
    }
<p>Returns the number of arguments this function has.</p>

@return The size of the argument list.
searchlib/src/main/java/com/yahoo/searchlib/expression/MultiArgFunctionNode.java