Added stats output string (Spark API Call)