Object set aggregation for string array variable

I have a question about Object set aggregation in Workshop’s Variable.

I am aggregating a property of String type to get a unique value of the property, and using this String Array variable from the aggregation as a choice in the String selector.

However, when the number of aggregated results exceeds 500, all the results are not displayed.(Error meassage “Aggregation limit of 500 reached”)

Is it possible to change this limit of 500 results, or if not, is there another way?

With a typescript function, you could do an aggregation and have up to 10,000 bucket values:

@Function()
public async getUniquePropertyValues(myObjectSet: ObjectSet<MyObjectType>): Promise<string[]> {
    const aggregation = await myObjectSet.groupBy(o => o.myProperty.exactValues({"maxBuckets": 10000})).count();
    return aggregation.buckets.map(bucket => bucket.key);
}