AT.COUNT
You can define three different attribute tables for a dimension. Each attribute table can have 254 fields. This function returns the number of attribute tables of a dimension.
Syntax
AT.COUNT(Database alias,Dimension)
Arguments to this function can be strings, or references to cells containing strings. If strings, they must be enclosed in quotes.