found function which returns count of CPU cores