DHX Tabbar: How many tabs present ?

Hi there,

I want to know how many tabs are present in tabbar.

How will I get that number ???

There is no stable way to receive such info, something similar to next may be used

var count;
while (var id in tabbar.tabsId) count++;

Hi there,
             Hi I found the solution, so wanted to share it.
             Total no. of tabs = (tabbar.tabsId.last()._cInd)+1