Thanks for the code. I have tried it but get no response from the results function. Well, I should say, I get a response - it is a downloaded file, not a number on the screen. I have used both Firefox and Chrome. I get a pop-up box asking what to do with the file, and it shows "You have chosen to open 1 which is: application/octet-stream (0 bytes)"
I found another script which I haven't been successful at modifying, but that code shows the total number automatically as the user clicks through the radio buttons/check boxes/etc. I like that better than having a submit button.
BTW, no this isn't a homework or an assignment of any kind, it's for a language learning website I am working on. This is simply a little exercise for new English learners, part of a larger lesson.
The styles are handled in an external style sheet, whence I didn't include them in the above code.