Update numberofcores.php

shell_exec returns a string instead of an array. Output was only the first digit of the number.
Merge pull request #227 from allardcool/patch-1

Update numberofcores.php