Gets the number of selected regions.
The number of selected regions, or -1 in the case of failure.
See Implementation
Gets the number of selected regions.