instruction: provide the number of patients whose admission year is less than 2146 and diagnoses long title is nephritis and nephropathy, not specified as acute or chronic, with unspecified pathological lesion in kidney?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2146" AND diagnoses.long_title = "Nephritis and nephropathy, not specified as acute or chronic, with unspecified pathological lesion in kidney"