Hi Divya!
You can do it with the help of microflow, you can do it, for example, by collecting a list of all the answers in which the value is "yes", and then do a count on the list, assuming that each answer "yes", has the same value.
If the values are different, depending on the question, then you can go through the entire list and add values if the answer is set as "yes".