set correct progressCount in migration script