Vents have no waste going down them.
If you have a bathroom, it needs to be vented through the roof. The UPC code allows four bathroom sets on a 2" vent as long as you make up a composite elsewhere.
For a four bath home, I would need four 2" vents to equal the 4" waste line going out.
IPC may be different than that.