It depends on the mode. For local co-op without Xbox Live, only 2 profiles can play at once on the same console. Over Xbox Live, it's 2 teams of 5 facing off against each other, and in Horde mode, it's a single team of up to 5 players working together.