Tag: Count unique records by group in R