count_unique working