Determine the number of logical CPUs