ListBox.SelectedRowCount

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aListBox.SelectedRowCount

New in 2019r2

Supported for all project types and targets.

The number of rows selected (highlighted).