Auto detection count of CPUs