docs: @Override
      public JsonNode evaluate(List<JsonNode> evaluatedArgs) throws InvalidTypeException {
          JsonNode arg = evaluatedArgs.get(0);
          if (arg.isTextual()) {
              return getStringLength(arg);
          } else if (arg.isArray() || arg.isObject()) {
              return new IntNode(arg.size());
          }
          throw new InvalidTypeException("Type mismatch. Expecting a string or an array or an object.");
      }