title: Get number of checkboxes that are checked in Javascript
body: <p>I am trying to make a javascript function (although jquery is perfectly OK) that will return a number that corresponds to the number of checkboxes checked in a form.  Seems simple enough but I can't figure out a good way of doing it.</p>
  
  <p>Thanks.</p>