###HUMAN: what is the number of patients who are in ward 650 until 2104?, ###ASSISTANT: SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 650 AND STRFTIME('%y', patient.unitadmittime) <= '2104'