Quantity has a quality *if* it can get to the battlefield.
The big stuff is for trying to keep the small stuff away from the battlefield. When you can't do that for whatever reason you need a bunch of small stuff of your own.
But a frigate without sonar isn't inherently horrible--lots of places don't have subs.