Well, if you count in years of school: wait a second ...
3-4 years (depending on when your parents send you to school when you're still a very young child, almost a baby, the daughter of my brother started school at 3yo for example)
+ 5 years
+ 4 years
+ 3 years
= 15-16 years to have the Baccalauréat. You generally get it when you're 18 or almost (I got it when I was 17 for example).
So then, add 3 years for the Licence, yet 2 years to be officially Master graduated and then 3 years (and possibly more) if you want to be a doctor and do research ...
Oh and if you compare to my age, yes, there is something strange as I got my Baccalauréat 7 "school years" ago and I'm "only" at the Master level ...

It's because I used some diverted roads (when I joined University, was too young to live alone and studying, I just went to parties, even the day just before the exams lol, I still remember my headache, and a bad choice of formation last year making me lose one year again).