instruction: count the number of unmarried patients who underwent cardiopulmonary resuscitation, not otherwise specified.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.long_title = "Cardiopulmonary resuscitation, not otherwise specified"