For the Type VIIC's there are over 80 pressure hull penetrations. I am sure that the Germans keep the hull penetrations to a minimum but that is still a lot of holes in your pressure hull
Here the list of holes for just the Aft torpedo and E motor room.
Aft torpedo- and E motor room1x For Vent valve for No. 1 main ballast tank
1x Rudder operation
2x Dive planes
2x Propeller shafts
1x Outer torpedo tube door
1x Vent valve for the water tight stern
1x Torpedo loading hatch (clearance 660 mm)
2x For Emergency compartment ventilation intake and exhaust
2x Mine ejection
1x Blowing line for No. 1 main ballast tank
1x Lubrication for No. 1 main ballast tank
1x Hull valve in blow line for water tight stern
1x Sea water flooding line for torpedo tube
1x Ventline for torpedo tube
1x fwd Hull valve for HP air group 1