instruction: how many days have passed since the last time patient 017-16041 stayed in the ward 657 in the current hospital encounter?
response: SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '017-16041' AND patient.wardid = 657 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1