You can use the :selected selector to select them, then get the .length, like this:
var count = $("#mySelect :selected").length;
You can use the :selected selector to select them, then get the .length, like this:
var count = $("#mySelect :selected").length;