> Japan's population is stagnant, and so train use might be stagnant too. (No idea about Taiwan.)
Japan's number of tourists has famously exploded over the last decade, and they take trains more than the resident population.