RM 2.0 Count total number of categories?

Case

Well-known member
Is there any way of getting the total number of categories as a number to use in templates?

I noticed $categoryTree.count() in xfrm_category_list_macros - wondered if this could do it if I looped through the category tree or something?
 
Top Bottom