%count statement (SDL script)
This topic applies to TDK SDL script extensions. For more information, see Overview of SDL script extensions for TDK (SDL script).
SDL Script Extensions for TDK:
%list MyList
...
A = %count (MyList)
B = %count (%c->Attribute)
%count returns the cardinality of its argument, which can be of type %object or %list.