@Override
    public void toData(DataOutput out) throws IOException {
      out.writeInt(count.addAndGet(1));
    }
Test to ensure that a PartitionedRegion doesn't make more than the expected number of copies
when copy-on-read is set to true
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ClientDeserializationCopyOnReadRegressionTest.java