Separated getLocalSize() into getOwnedSize() (number of primary-owned entries, not supported by Infinispan) and getLocallyStoredSize() (including backups, not supported by Coherence), and adapted the stages working with this.