The joint sponsor will have to add those 5 people to the household size for the I-864, and provide evidence of enough income for that larger household size. That would mean a household size of at least 7 -- the joint sponsor himself + your friend + those 5 people.
Or your friend will have to find a new joint sponsor, or provide new evidence of enough income and/or assets so she doesn't need a joint sponsor.