結果 : python generator get number of elements