Dear Kal-lam,
Hope you are doing well and safe.
I am asking one question is this, the first question in questionnaire is this, Total of family members. The others will be categorical such as #of women, #of men, #of boys, # of girls then I Total. So the question is this, if the last Total is equal with the total of family members, go ahead otherwise the questionnaire should not go ahead.
Regards