結果 : how to count number of elements in an array python