how many times does patient 5142 make drain out #5 jackson pratt last month?
select count(*) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #5 jackson pratt' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')