fixed so that the replica count now is also based on cached+sticky