Add NumCPU method to CPUInfo