BCGControlBar Pro for MFC
int CBCGPRibbonStatusBar::GetCount ( ) const

Returns a number of elements located on status bar control in the main (not extended) area.

Use GetExCount() to retrieve number of elements in the extended area.