docs: private Set<Label> extendedScopeTypeLabels(GraqlCompute.Statistics.Value query) {
          Set<Label> extendedTypeLabels = getAttributeImplicitRelationTypeLabes(targetTypes(query));
          extendedTypeLabels.addAll(scopeTypeLabels(query));
          extendedTypeLabels.addAll(query.of().stream().map(Label::of).collect(toSet()));
          return extendedTypeLabels;
      }