working searchNumberOfPatients