Python
I have a list of lists. like
A = [[x,y],[a,b],[c,f],[e,f],[a,b],[x,y]]
I want to count how many times each list occurred i
Depending on your output, you can loop through a set of your list and print each item with its count() from the original list:
loop
set
list
count()
for x in set(map(tuple, A)): print '{} = {}'.format(x, A.count(list(x)))