Entered the code for counting CPUs