11
Okay... Here's a sample of some code that does the table join as expected.
$object_id = 3; // whatever value for id you want to count
$class_handler =& xoops_getmodulehandler('', $xoopsModule->getVar('dirname'));
$class_handler->table_link = $xoopsDB->prefix('');
$class_handler->field_link = '';
$class_handler->field_object = '';
$criteria = new Criteria('o.', $object_id, '=');
$result = $class_handler->getCountByLink($criteria);
Hope this helps... Thanks BÁNÐÍT-X for pointing me in the right direction.