count the occurrences of a list item,Counter(l)