A small worm farm made from a couple of plastic boxes can start with one or two thousand worms. After a few months, if the worms are well fed and at the right temperature, that number will have turned into five or six thousand worms. You can then split the farm in two, or give some away.
No worms do not east pasta, in fact it's not good for worms they need to eat organic foods from soil.
A farm would need more animals so that if animals die there would be more there!
A proper compost bin that is working well will be too hot for worms. If it is set on the ground, then worms will come up from the earth if they want to. You can use a worm farm to break down food scraps. Several thousand worms are good for this, depending on its size, but you can start with a few hundred and they will breed, if you look after them properly.
Any size is sufficient, but how many you need depends on what you want to farm or raise.
they could be round worms....your puppy would need to be dewormed
Depends how big the farm is.
There would need a source of irrigation water.
A small farm should only need one tractor as long as it is in good condition.
Chickens rarely get intestinal worms, but if they do get intestinal worms garlic is not an effective deworming agent. You would need to talk to your veterinarian to get a deworming drug to clear the worms.
Depending on the size of your pig farm, would depend on the size of tractor you would need. For example, a John Deere farm tractor in the 5000 series can handle around 40 acres, and can be attached to about 260 accessories for all your farming needs.
If they are regularly coughing and the feed is not dusty then I would take their temperatures as they may have a respiratory infection and need antibiotics or they might have lung worms and need drenching for worms.
Most anti-virus programs will catch worms, as will many anti-malware programs.