This is one solution.
You can too put a default value to a control outside the repeating section.
You click the "fx" button and you can do the sum of the chechbox control (which taka 0 or 1).
So, it will sum all the 1 and you will see the number of true response.
In order to have all the question, you can use the count function.