Use python to get system cpu count