結果 : count different elements in array python