Fixed #82589 by using featureManager's numberOfFeatures property instead of calling getTotalCount() in the store.