(self, value)
return sum(value == entry for entry in self)
L.count(value) -> integer -- return number of occurrences of value.
L.count(value) -> integer -- return number of occurrences of value.
L . count ( value ) - > integer -- return number of occurrences of value .
def count(self, value):
        "L.count(value) -> integer -- return number of occurrences of value."

        return sum(value == entry for entry in self)
def count ( self , value ) : return sum ( value == entry for entry in self )