Around 120 aircraft were shot down by U-boats for the loss of roughly 30 U-boats either sunk during the attack or due to being located by other forces shortly afterwards and sunk. (See link above for actual figures)
One source says that RAF Coastal Command (U-boat hunters) lost 700 aircraft (badly damaged, shot down and paid off) and sank 220 U-boats during the war. I've been unable to verify the RAF losses but the U-boat figure is about right it seems. These figures show the immense effort put out by the British to hunt down the U-boats and almost all the aircraft successes took place in 1942 and later. In 1939-1941 only some 2 U-boats were sunk by aircraft (31 in 1942 alone).
Funk
This is one helluva package. 2 x twin 37mm Bofrs plus 1 20mm Flakvierling.
I don't know about the 37mms, but the 20 mm could not be waterproofed. By this time, 1942, the 105mm deck guns were being removed, a rolling U-boat was a bad gun platform and the gun was worth 2-3 knots in drag.