cpu_count in joblib and working on AB dist cost