.WindowMenus.Count (gb.qt)
Syntax
PROPERTY READ Count AS Integer
Returns the number of menus in the window menu bar.