Return number of instances changed when migrating [#63080352]