Train line numbering