Original: Within five years there were 1,200 students in the grammar school and 300 in the advanced school.
Simplified: In five years there were 1,200 students in the grammar school and 300 in the advanced school.