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