Add lenuniq function: length(unique(vec))