Report question

Question: Is there a way to reliably detect the total number of CPU cores?