結果 : count number of occurrences in an array python