code: private static String countArgs(final String s) {
          String[] args = ARGS_REGEX.split(s);
          if ("".equals(args[1])) return "0";
  
          String[] argarray = args[1].split(",");
          for (final String arg : argarray)
              if (arg.contains(VARARGS_SUFFIX)) return "1 or more";
          return valueOf(argarray.length);
      }
docs: Returns the number of arguments for the provided string.
  
  @param s {@link String}
  @return {@link String}