To figure this out, we need to first sort the file by household id (hhid). Then, we use the count command, along with the [_n] the and other qualifiers to derive the answer:
count if rel_head==1 & gender_n==2
According to STATA, there are 80 female headed households in the survey.