count migrations