結果 : count instances of value in array python