Returns the thread count of the active custom thread pool if configured, or Rayon's global thread count.

get_hpc_threads_rust()