score:3
Now these rules depend very much on several individual factors such as your passport, your destination and the transit point, even the airline you are flying, but as a general rule of thumb:
If you do need a visa to transit in a country then you need it also when not leaving the airside transit area.
Actually in many places you do require a regular visitor visa to go landside, and be it only for five minutes to catch some fresh air.