結果 : find frequency of each element in array using map in java