Fixed an issue with migration-count not actually returning the migration count.