Add ability to check number of CPU cores