get-number in tab-panel%

Returns the number of tabs on the panel.