Retrieve the number of features that are selected in a vector layer.
mapLayer.selectedFeatureCount(layer = NULL, ...)
| layer | layer (or ID of the layer) from which the feature count should be retrieved. If not specified, defaults to the layer currently selected in QGIS. |
|---|---|
| ... | low-level parameters (such as |
A numeric.