結果 : count number of 1 in array python