minimal code for counting who DOES NOT have a hadm