Average and filtered counts in WiX

Hi guys,
I need your help. This is the last function i would like to set before landing my WebPage ( at the end). This would be a little bit complex.
The thing is that I got a “search” page that consist a repeater with different objects. There is a link in each object of the repeater that says “Add your opinion” and redirect the people to a dynamic page that contains a valuation form so that they can evaluate that specific object numerically.
The thing is that i want to collect all of these numeric data and make and average assesment for each object.
So the 2 main points here I would like you to help me if it s possible are:

  • ¿How to collect the numeric data of each field and make and average with it everytime a new user add a valoration?
    -¿How to filter the code just to make the average of that specific object of the repeater?

Thank you very much guys.

Something like this perhaps:

You can try using the code and modifying it for your needs.

Thank you givemeawhisky! That’s really nice but I would like to know if it is possible and how to do it with custom radio buttons