The episode is about a species of people who find their way into the worm whole and to Federation space from the Changlings.
There are 3 mil of them and they want to immigrate to Bajor.
I remember it. The Bajorans kind of had a point about not wanting to absorb that many people when they were just getting on their feet themselves.