discard useless writing count