This seems like the perennial HN "I could build this app with 5 engineers" comment. Every visible FB feature (NewsFeed ranking, ads, Marketplace, ...) has a team, as well as less visible ones like Infra and Trust & Safety. Multiply that by all the different apps you've mentioned, and add people working on the new Metaverse, and 20-30K doesn't seem unreasonable.