How to find the count of each number or occurrence in an array by using ...

How to find the count of each number or occurrence in an array by using ...