Counting the number of selected Yes or No within a repeat group

Dear All,

have a form with a repeat group. Inside the repeat section, there are questions with yes or No.
I would to get the number of time Yes or No where selected in all the repeat,

E.g
Q1. how many children do you have ?
Start of repeat for every child (the answers to the questions Q2 ro Q5 are either yes or No.
Q2. What is the child name?
Q3. is the child a boy?
Q4. Is the child blind?
Q5. Has the child eaten this morning?

Q6. What is the preferered colored of hte chiold?

  1. red
    2.yellow
    3.White
    4.Yellow

So at the end of the survey, I would like to automatically know :
The total number of children for which the answer to Q5 was Yes
The total number of children for which the answer to Q4 was No
The total number of children that prefers either White or Yellow colour

I am sorry I cant share the form here and I hope my example is clear enough.
Thank you.

@ukenfack, this post discussed previously should help you solve you issue:

1 Like