Count frequency of each element in the array - Tutorial
Blog
Discussion