Eminently reasonable question... I knew the answer back in the 1960's, but it's flown out of my empty head since then.
It's a function of the number of cubic feet in the room, versus how many people are in it, how much air they exhale with each breath ( per minute ) versus how many times you can rebreath stale air- you can rebreath your exhalations a few times before they grow so O2 depleted they are useless...
All I can tell you is that the bigger the sealed room the better, and a few oxygen bottles would be a great help.