How many years did Rudyard Kipling go to school?

Rudyard Kipling attended school in England for 10 years (ages 6-16)