Added total number of trains
merge