updated both total_registered and get_patient methods in patient_service and cohort_tool model