Two players offline, four players online.
The split is straightforward: the offline mode limits you to a pair, while online co-op fills out the full four-person survivor team.