Suppose i have the following list:

```
test<-list(c("a","b","c"),c("a,c"),c("a,c"),c("a","b","c"),c("a"))

```

I want this as result:

```
("a","b","c") = 2
("a,c")=2
("a")=1

```

I tried with

```
> table(test)
Error in table(test) : all arguments must have the same length

```