Returns the number of threads set explicitly by the user in the preferences.
This information can be used by plug-ins wishing to follow user settings for multi-threaded implementations.
the preferred number of threads to use.