How much education is required for a law student or pediatrician?

Law students must complete 3 years of graduate studies (so generally 4 years of undergrad plus 3 years of graduate level at law school)