Using the Unique filter on an array of arrays.

Hi.

I'm looking through data that needs me to go through an array that looks like the below

[[a,b,c],[c,b,a],[a,b],[c,d],[d,a],[d,a],[c,a]]

and from this data lift unique groupings and count them so that we have

[a,b,c] = 2

[d,a] = 2

[a,b] = 1

[c,a] = 1

[c,d] = 1

I've used the unique filter on the main array hoping to get the unique combinations then count them afterwards, but I keep getting hit with an unknow error exception.

Is there something I'm doing that's wrong?

Thanks!

7 replies