This method returns a count of the buttons currently in the toolbar.
int GetNumButtons() const
An integer indicating the number of buttons in the toolbar.