Since the database may or may not reside in the upgrade directory, depending on whether the new format has different capabilities or not, we rebuild the count store using the information the store directory if we fail to open the store in the upgrade directory.
Just one out of many potential participants in a StoreUpgrader migration.