Fusion. Widget. SelectionInfo

Displays the number of features and number of layers in the current selection.

Template (string, optional)

The format of the output string.  Use {layers} and {features} as placeholders for the number of layers and features in the current selection.

You can embed HTML in the template, but you must escape any characters that result in illegal HTML.  This would include:

< is &lt;

is &gt;

& is &amp;