uniqueLength function

Length of unique elements in a vector