How to counter warwagon as brits?

recently had a game against a Dutch player, where the guy just spammed warwagon units until I ran out of resources.

I built pikeman but, even though they are effective at killing the war wagon, they are so weak and have such low hit points that, A group of 15 of them will probably last about 3 seconds before a couple of ranges or cannons hit them and then they all die together.

musketeers weren't bad but, usually the players that use wall wagons spam them endlessly, and then they'll just mix in a cannon or two here and there and I can't do anything.

my dragoons stood no chance against the wall wagons as well, my musketeers did okay, But again because they are infantry that one cannon mixed in with the wall wagons just one shots all of them.

tldr: I just need advice on how to defend against war wagons effectively, When I'm playing the British.