Forms > Forms Assembly Interfaces > IRibbonContexts > IRibbonContexts.Count
Count: Integer;
The Count property returns the number of context tabs of the ribbon.
See also:
IRibbonContexts