I need to calculate some dynamic CSS based on how many top level categories exist. (NOT how many posts are in a category, or how many categories a post belongs to... Nothing about posts at all, just how many top level categories there are)
I am new to PHP, but I couldn't find any WP functions that would return the number I'm looking for.
Thanks in advance for any help.