My #7 is Mystery Train recorded by Elvis before he left Sun Records. The music and lyrics are by Junior Parker and Sam Philips. There’s some variation in the number of coaches depending on who else recorded the song over time.
My #22 is from Laura, lyrics by Johnny Mercer who had a thing for trains. My others have all been guessed correctly.
Scenes from movies that would fit many titles:
somebody runs along the top of the train, jumping from car to car
approaching a tunnel the person has to either hang off the side of the train or lie down on his/her belly to pass through the tunnel
the bad guys knock out the engineer and the guy who shovels the coal and have to wind up doing the stoking and driving themselves
in a near collision with the oncoming train there’s a sidetrack they take just in time to avoid the wreck
there’s a fight on top of the train or on a flatcar or on the landing on the back of the caboose and they beat each other pretty much senseless until they approach a trestle or a bridge at which point the good guy knocks the bad guy off the train so he can plummet to his death below
somebody blows up the bridge or trestle and the whole train tumbles off into a ravine or river (already alluded to in Bridge on the River Kwai)
people who barely know each other wind up sharing a berth in a Pullman
somebody asleep in a Pullman berh gets folded up into the wall
If you feel like putting in some titles that fit these stock sequences, be my guest.