instruction: provide the number of patients who were diagnosed with heart valve replaced by other means and admitted in hospital before 2154.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2154" AND diagnoses.long_title = "Heart valve replaced by other means"