Script to output number of cpu cores on the machine