Returns the number of tabs in the player's spellbook
See also Spell functions.
Signature:
numTabs = GetNumSpellTabs()
Returns:
numTabs- Number of spellbook tabs (number)
Examples:
-- Prints the names of all spell tabs to chat
for i = 1, GetNumSpellTabs() do
  local name = GetSpellTabInfo(i);
  print(name);
end