I am practicing pandas and python and I am not so good at for loops. I have a data frame as below: let's say this is df:

```
   Name        Value
    A      [[A,B],[C,D]]   
    B      [[A,B],[D,E]] 
    C      [[D,E],[K,L],[M,L]] 
    D      [[K,L]]

```

I want to go through each row and find unique arrays and count them. 

I have tried np.unique(a, return\_index=True) then returns two different list and my problem I don't know how to go through each array.

Expected result would be:

```
Value      Counts
[A,B]        2
[D,E]        2
[K,L]        2
[C,D]        1
[M,L]        1

```

Thank you very much.