migration: introduce icount field for snapshots