thislist = (1, 3, 7, 8, 7, 5, 4, 6, 8, 5) x = thislist.count(5) print(x)
list = ["a", "a", "a", "b", "c", "d"] print(list.count("a"))