Solution

by household: egen numHeads=total(rel2head==1)
assert numHeads==1

Last Revised: 12/17/2015