split is now counting the number of \n