sourceTotalRecordCount = this.getTotalRecordCount(); Long copyTotalRecordCount = ((Long) strategy.copy(LocatorUtils.property(locator, "totalRecordCount", sourceTotalRecordCount), sourceTotalRecordCount, (this.totalRecordCount!= null))); copy.setTotalRecordCount(copyTotalRecordCount); } else { if (totalRecordCountShouldBeCopiedAndSet == Boolean.FALSE) {