I have a integer input array and i want to get the count of occurrence of element in an array. For ex:- input[]={0,1,1,2,1} should output a map of i