define Function Count code example Example: Count function points = [1, 4, 2, 9, 7, 8, 9, 3, 1] x = points.count(9)