I\'ve tried using Counter and itertools, but since a list is unhasable, they don\'t work.
My data looks like this: [ [1,2,3], [2,3,4], [1,2,3] ]
I would like to
ll = [ [1,2,3], [2,3,4], [1,2,3] ] print(len(set(map(tuple, ll))))
Also, if you wanted to count the occurences of a unique* list:
print(ll.count([1,2,3]))
*value unique, not reference unique)