Number of cores (written in WQL)

[crayon-6a6196506333a328338640/]

select NumberOfCores from Win32_Processor