Okay so I've got a form that includes 4 different select fields.
[/COLOR][COLOR=#0000cd] <select name="type1" id="type1" required>[/COLOR][COLOR=#4b0082]
the other 3 fields are named type2, type3, and type 4, accordingly.
The select forms use a typeX.value switch to impose a multiplier on a number input field, and I need to be able to count how many of an option were selected so that I can divide the sum of multiplied inputs by the count of selected options. All I'm asking is how to count the # of each selected option, though.