Hi I was wondering if anyone can help with coding. I'm struggling a bit with this.

I'm trying to add up a set of variables (9 in total) representing 9 different questions.

I want stata to add it if the respondent has answered atleast 6 of the 9 question but not to add it if it doesn't have atleast 6.

Can anyone please advise many Thanks