Getting cpu count from python