Resampler.
nunique
Return number of unique elements in the group.
Number of unique values within each group.