Distinct count support