The number of students being homeschooled rose in all states and territories