support COUNT DISTINCT