====== getTabCount ======
Returns the number of tabs.
===== Syntax =====
getTabCount = function();
==== Returned value ====
* //functions:// a number of tabs
===== Examples =====
-//Create 10 tabs
for(var i = 0; i<9; i++) createTab();
//Get the number of tabs
var tabCount = getTabCount();
log(tabCount);