in query:
$query = "SELECT COUNT(*) FROM " . $xoopsDB->prefix("mylinks_links") . " WHERE `cid` IN {$catIds}";
if ('' != $status){
$status = (0 == intval($status)) ? 0 : 1;
$query .= " AND status='{$status}'";
}
if status is equal to 2 (updated link) is not counted. Do not read the value in the database if is equal to 2.
If force control "AND status>0" the total is correct