python count certain elements in a list code example Example: count item in list python list.count(element)