There are several thousand people out at Cupertino - what are they doing?
Then take into account all the people who do QA, all the management, marketing, business, finance, and other teams.
And you're actually left with a pretty lean engineering force. Apple engineers more stuff in house than a typical company like Dell, so that plays into the head count as well