API:GetNumClasses

Returns the number of classes.

Example
local numClasses = GetNumClasses; for index = 1, numClasses do	class, token, level, currExp, maxExp = GetPlayerClassInfo(index); end