Typically Japanese homes are laid out economically so the bath is right where the hot water heater is. In our house from the 70's it's probably not more than meter through the wall to the water heater. Even in apartment buildings, typically each apartment has it's own tankless gas water heater on the outside wall of the building so it's easy to meter usage separately.