At least where i live, subways and railways aren't really considered to be the same thing
The line gets really blurry in some places in Tokyo.
Asakusa (one of "my" lines!) line, is definitely a subway inside central Tokyo, but you can stay on the same physical train going all the way from Narita to Haneda (think RER in Paris?) — I think it would be qualified as "light rail" anywhere else in the world.
Japan operates a kind of hybrid system where the subway (at least in Tokyo) mostly consists of tracks that connect to private operators on either end, and a train will just run through from the private parts of the track to the subway parts with no interruption whatsoever.
https://en.wikipedia.org/wiki/List_of_through_trains_in_Japa...