how many patients had been prescribed ibuprofen suspension until 2 years ago?
select count( distinct admissions.subject_id ) from admissions where admissions.hadm_id in ( select prescriptions.hadm_id from prescriptions where prescriptions.drug = 'ibuprofen suspension' and datetime(prescriptions.startdate) <= datetime(current_time,'-2 year') )