(I'm often a fool with computers -- can't figure out how the "voting" mechanism works.)
Rather modelling my post on yours; but with, for me, just a modest 26 at most-generous-within-reason. Slight element of historical "jiggering": viz -- as noted in my list -- stuff with former Yugoslavia. Countries wherein have done no rail travel, marked -- as with you -- with *. I'm choosing to exclude lands which I've "passed through", but not been outside the airport.
UK, Republic of Ireland, Spain, France, Belgium, Luxembourg, Netherlands, Denmark, Germany (both West and East, both pre-and post-reunification), Austria, Romania, Poland, Czech Republic, Slovak Republic, Slovenia, Croatia, Serbia, Bosnia (all the preceding four: my visits to those parts were when it was all still Yugoslavia -- listing the "bits" which I actually visited), Sweden* (destination of "mini-cruise" from England: four hours "in country", at Goteborg), Hungary* (essentially passing through country by car, en route to / from elsewhere), Zimbabwe, Botswana (very brief visit to B., but did include a rail journey), India, Myanmar, People's Republic of China. And one which I'm not sure if I should count; but with its being, in an unfortunate way, topical: Ukraine -- about an hour within same, in 1984, as part of a regular Polish State Railways passenger working between Zagorz and Przemysl, which passed en route through a small corner of what was then the Ukraininan SSR, with appropriate security-personnel antics.
You'd have problems trying to travel by rail in Seychelles or Mauritius .Snap!
UK, Ireland, Norway, Sweden, Denmark, Poland, Germany, Netherlands, Belgium, Luxembourg, France, Spain, Portugal, Switzerland, Italy, Austria, Czech Republic, Slovakia, Hungary, Slovenia, Croatia, Romania, Bulgaria, Greece, Turkey, Ukraine, Russia, China, India, Sri Lanka, Malaysia, Australia, New Zealand, Tunisia, Egypt, Ethiopia, Kenya*, Seychelles*, Mauritius*, Tanzania, Zambia, Zimbabwe, Botswana, Mozambique, Namibia, South Africa, Lesotho*, USA, Canada, Peru, Bolivia, Argentina (* not ridden on railway in this country) 52 countries
Changed planes/had break at, without leaving airport: Madagascar, Qatar, UAE, Cape Verde
Landed at, but not left aircraft: Democratic Republic of Congo, Cote D'Ivoire
Rather modelling my post on yours; but with, for me, just a modest 26 at most-generous-within-reason. Slight element of historical "jiggering": viz -- as noted in my list -- stuff with former Yugoslavia. Countries wherein have done no rail travel, marked -- as with you -- with *. I'm choosing to exclude lands which I've "passed through", but not been outside the airport.
UK, Republic of Ireland, Spain, France, Belgium, Luxembourg, Netherlands, Denmark, Germany (both West and East, both pre-and post-reunification), Austria, Romania, Poland, Czech Republic, Slovak Republic, Slovenia, Croatia, Serbia, Bosnia (all the preceding four: my visits to those parts were when it was all still Yugoslavia -- listing the "bits" which I actually visited), Sweden* (destination of "mini-cruise" from England: four hours "in country", at Goteborg), Hungary* (essentially passing through country by car, en route to / from elsewhere), Zimbabwe, Botswana (very brief visit to B., but did include a rail journey), India, Myanmar, People's Republic of China. And one which I'm not sure if I should count; but with its being, in an unfortunate way, topical: Ukraine -- about an hour within same, in 1984, as part of a regular Polish State Railways passenger working between Zagorz and Przemysl, which passed en route through a small corner of what was then the Ukraininan SSR, with appropriate security-personnel antics.