USelection::CountSelections

Returns the number of selected objects of the specified type.