code: public static Matcher functionCallWithNumArgs(final int numArgs) {
      return new Matcher() {
        @Override public boolean matches(Node node, NodeMetadata metadata) {
          return node.isCall() && (node.getChildCount() - 1) == numArgs;
        }
      };
    }
docs: Returns a Matcher that matches any function call that has the given
  number of arguments.