ripter/jquery.rating — pull request #18 by mweimerskirch (2013-01-14 15:36:05+00:00)
Title: Correctly count number of selected options

":selected" always returns at least one element, because the browser automatically selects the first element.
Using "[selected]", only those elements that really have the "selected" attribute are returned.