Count the frequency of each element of an array.
Pictorial representation:
File8.1.png

  
Your score is:       
Copy paste the above completed code in below IDE and run