On 64-bit Windows it returns "8", which is my 4 physical core + 4 hyperthreading cores.
Huh, indeed, on Linux compiling GetCPUCount() with wine fpc.exe and then run the Windows binary with
wine gives "4" as result!
But same code compiled for Linux and run the Linux binary gives "1" as result.
[EDIT]
And with the Linux command:
It gives "8" cpu.