Update numberofcores.php

shell_exec returns a string instead of an array. Output was only the first digit of the number.