Fix pager total count

The change to totalCount was incorrect. the correct fix was to make sure a new total promise is created for each instance of the AtomStorePromise otherwise a stale value was being used.