Turing Interview Question

Count the frequency of elements using python