Added length of stay calculation for ExportResource