what were the number of times patient 4469 produced a right jp output during their last hospital encounter?
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 = 4469 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'right jp' and d_items.linksto = 'outputevents' )