Complete countUnique