ES|QL COUNT_DISTINCT_OVER_TIME function Calculates the count of distinct values over time for a field.