GetNumCategories Method (Python) Returns the number of categories in the dimension. Syntax SpssDimension.GetNumCategories()