結果 : count true elements in array python