ray.data.aggregate.CountDistinct.finalize# CountDistinct.finalize(accumulator: Set[Any]) → int[source]# Return the count of distinct values.