結果 : count number of true elements in array python