count the occurrences of a list item,l.count('b')