instruction: count the number of times patient 015-76260 had had a ventricular drain right_c until 594 days ago.
response: SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-76260')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'ventricular drain right_c' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-594 day')