Pergunta de entrevista da empresa Tech Mahindra

Write a python program to count the number of occurrences in a list