Answer:
It requires 4 years of college, 4 years of medical school and, 4 years of residency, for a total of 12. The salary is is more than $150k/year.
Fellowships exist that allow gynecologists to sub-specialize in topics such as Reproductive Medicine or Fertility Medicine. These may be an additional 1-4 years of training.