persist before count