@property
    def _number_targets(self):
        return len(self.ui.data_list.selectedItems())
How many targets are selected
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py/CustomComponentWidget._number_targets