Return the number of threads in the current team.
The omp_get_num_threads routine returns the number of threads in the team executing the parallel region to which the routine region binds. If called from the sequential part of a program, this routine returns 1.
This function always returns 1 when called from within Python.
Returns: The number of threads in the current team. Return type: