Add: get number of cpu cores