the number of times patient 3267 has had a resp tract intubat nec procedure until 2104 count.
select count(*) from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'resp tract intubat nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3267 ) and strftime('%y',procedures_icd.charttime) <= '2104'