Fix #16989: The bug_get_bugnote_count() function in the bug API always returns 0