The probability that a train will derail depends on a number of factors. One of them is train length.
Please read: Qualitative Analysis of Factors Affecting Railroad Accident Probability and Severity for details of this study. Link to study
For any train carrying substandard DOT-111 cars moving hazardous materials, it is the opinion of CARS that the length of these trains be cut to no greater than 50 cars.