Report question

Question: How to count the frequency of the elements in an unordered list?