copy

fun copy(expression: AggregationExpression = this.expression, alias: String = this.alias, filter: FilterExpression = this.filter): AggregationMetric.DistinctCount

This DistinctCount with the given values replaced; for Wow's own query rewriting.