What number is missing?

Score: 0

🚂
1
2
?
4

Pick a number, then tap the empty carriage!