NumChecked JS method for dbjoin as multi-checkbox

This fix copies the numChecked function from checkbox to dbjoin when used as a multi-checkbox.

This should be able to be ported back to Fabrik 3.0.

Fixes issue in http://fabrikar.com/forums/index.php?threads/limit-the-number-of-responses-in-databasejoin-checkbox.35769/