Hello,
What is the “name” (code) of the yes answers?
Could you provide the related part of your form here for better support?
You can search the forum to find several examples, incl. vulnerability
https://codmmunity.kobotoolbox.org/search?context=topic&context_id=17467&q=sum%20index%20score&skip_context=true