Forms > Forms Assembly Interfaces > IRibbonPanels > IRibbonPanels.Count
Count: Integer;
The Count property returns the number of panels located on the ribbon tab.
See also:
IRibbonPanels