The US Nimitz-class aircraft carrier is 333m long and can have 5,000+ crew... so I mean a 2km ship would have a lot too. Although the more advanced Ford-class has much less because of more automation... which you'd expect in a spaceship. And it carries like ~85 fixed-wing aircraft, although those cannot be launched all at once like you see in sci-fi. I use the US navy a lot when it comes to comparing ship compliments :)