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.