remove the time dependency and make backups roll based on counts