結果 : count the frequency of unique values in numpy array