count the number of times that patient 3403 has received a bilirubin, total test in the lab until 2 years ago.
select count(*) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and datetime(labevents.charttime) <= datetime(current_time,'-2 year')