static int countDistinct(Collection l, S field) { ret l(collectHashSet(l, field)); }