public static int getParamCount(HplsqlParser.Expr_func_paramsContext ctx) {
    if (ctx == null) {
      return 0;
    }
    return ctx.func_param().size();
  }
Get the number of parameters in function call
hplsql/src/main/java/org/apache/hive/hplsql/functions/BuiltinFunctions.java