It’s not residency slots that gate complex specialties it’s fellowship slots. At the end of residency, a “general surgeon” can do common and basic things like appendectomies. Those that go on to do organ transplants, complex cancer cases, etc do a fellowship that is another 1-3 years of training in a further sub field. We don’t need more internists or family med doctors, most of that caseload can be handled by NPs and PAs. Family med MDs make maybe 160k/year, they are not high earning.