count returns the number of instances of a particular item in a list