get actual cpu count instead of just launching 8 processes.

I noticed that gitstats would launch 8 processes on my dualcore machine.
My commit changes it so that we only launch as much processes as we actually have cores.