結果 : count number of times element appears in array python