/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h
Return the number of worker (non-named) threads PER PRIORITY SET. This is useful for determining how many tasks to split a job into.
int32 GetNumWorkerThreads()