Number of cores (written in WQL)

[crayon-6a9d60805ccea548296363/]

select NumberOfCores from Win32_Processor