How to find out how many cores a processor has