How many years does it to take become an obstetrician?

i takes four years of college 4 yars of med school and 3 years of resdiency