Function MenuItem.subitemCount

returns count of submenu items

int subitemCount() @property;