Write a function (def countFrequency(lst)) that takes a list and returns a dictionary with the frequency of each element.