LPS-38180 Add finder to count file entries for staging (by status, repository and date range)
LPS-38180 Use the new finder when counting file entries (cannot use dynamic query because we have to get the status from the latest file version)
LPS-38180 Generated
LPS-38180 Move this logic to PDC it can be useful later and we already have similar logic there (addDateRangeCriteria)
LPS-38180 SF