結果 : how to keep count in a recursive function python