Run
mylist = [6, 74, 62, 85, 62, 62,74] item = 74 n = mylist.count(item) print(f'{item} occurred {n} times in the list.')
Output