Added count_distinct_map