CountMaterialLayers()
Syntax
Result = CountMaterialLayers(#Material)
Returns the number of layers the #Material contains.
Supported OS
Windows, Linux