migration: Add counts of updating the dirty bitmap