# GetNumTalentTabs is not in World of Warcraft Forever: write C_SpecializationInfo.GetNumSpecializationsForClassID

Forever 1.60.1 (70959), Interface 16001. An addon that calls `GetNumTalentTabs` stops at /reload with `attempt to call global 'GetNumTalentTabs' (a nil value)`. Write `C_SpecializationInfo.GetNumSpecializationsForClassID`; its arguments and returns may differ from the old GetNumTalentTabs, read them first. Page: https://wowaddons.gg/forever-api/C_SpecializationInfo.md

```lua
specCount = C_SpecializationInfo.GetNumSpecializationsForClassID(classID)
```

Arguments:
- `classID`: number

Returns:
- `specCount`: number

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
