You could easily do a JavaScript solution that (when you 'submit') will count the 'yes' options on the page (reading the answers from the DOM) and display it on the screen. No PHP required.
Essentially you want to put all your answers inside a DIV and use some javascript to read in the children of that div and record the values. You can then use innerHTML to write the results back to the page.
If that sounds like a load of gobbledegook let me know and I'll try to help you...
|