Returns the number of threads used by OpenCV for parallel regions. Always return 1 if OpenCV is built without threading support.