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