add distinct count