It's not common to see worms in feces after worming. Normally they are dissolved and absorbed as protein in the digestive system. If there's been an infestation of worms, it's possible there might be one or two excreted. Worms cannot survive outside their host. I've seen pieces of tapeworms excreted after worming, some were flat and some were stringy. I've never seen roundworms excreted after worming.
Insects are the intermediate host for tapeworms. I suggest you look up the tapeworms lifecycle and you'll understand how it works. Then compare the tapeworms lifecycle to a roundworms lifecycle and you'll understand the difference between the two and what's involved.
Having a regular worming schedule is key to preventing worms from depositing eggs onto your soil, effectively stopping their lifecycle. No eggs, no worms. If your chickens get tapeworms you'll know it, you'll see segments in feces that look like white rice. Each segment contains hundreds of eggs and they will be in and on your soil:

Insects are the intermediate host for tapeworms. I suggest you look up the tapeworms lifecycle and you'll understand how it works. Then compare the tapeworms lifecycle to a roundworms lifecycle and you'll understand the difference between the two and what's involved.
Having a regular worming schedule is key to preventing worms from depositing eggs onto your soil, effectively stopping their lifecycle. No eggs, no worms. If your chickens get tapeworms you'll know it, you'll see segments in feces that look like white rice. Each segment contains hundreds of eggs and they will be in and on your soil: