count (method)

count(self, x)[source]

Return the number of times x appears in the list.