How long does it take to become a certified nurse midwife?

it takes 7 years to become a certified nurse midwife