結果 : count the frequency of each element of an array in java using hashmap