Do you RSVP? Seems like planning food for anywhere from 2 families to 30 people would be tough
If someone is rolling in with a larger than usual group they typically bring enough extra food to go around.
And yep, a lot of these are pot luck style to some degree. Host makes main course, everyone else pitches in on other stuff.
Definitely some loose coordination involved and the host will typically call a roll call the day before to get an estimate of number of people dropping by.