That must be Pakistan as you are not allowed to do that in India any more. I know because I tried. Apparently because of power cables or something. Nepal would still allow you to travel on the roof of the bus; they don't have a railway.
The guys hanging on the front are taking a big risk.