>>726
これif count = 10 | count > 10ってところ普通にif count > 9で良くないですか?
if count < 10で9までの処理
if count > 9 で10からの処理って具合になるので