the number of times that patient 11779 had been prescribed ibuprofen in 2104.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11779 ) and prescriptions.drug = 'ibuprofen' and strftime('%y',prescriptions.startdate) = '2104'