Gets the number of selected regions.
The number of selected regions, or -1 if a failure occurred.
See Implementation
Gets the number of selected regions.