tell me the total amount that patient 2004 had received since 1020 days ago?
select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1020 day')