There are just so many factors, I am sure there isn't a set number. As the ship could hold a lot more passengers berth wise, but children's programming and the dining rooms fill up. There are so many configurations of what family size (2adt/2chd, 1adt/3chd, 2adts, etch) for every stateroom.
2,700 or so is probably close to capacity.