Updated migration to calculate data transferred.