Renders the count of rows, list items, or definition terms.
The macro renders the count of table rows, list items, or definition terms in its body.
It first checks for table rows, then for list items, then for definition terms. If none of these elements are found, the count of zero (0) is returned.
The counter is rendered in a span element with the specified CSS class.
Page Size Warnings
This macro supports macros that render a table. If such a macro runs into the limits set by the page size configuration and renders a warning, then this macro will render an error.
Raw Text Macros
Please not that macros rendering lists or collections in raw text are not supported by this macro. The content of the Count Macro's body must have a table or a list in HTML format inside.
Therefore, the text rendered – for instance by the Child Documents Macro – cannot be counted with the Count Macro.