During the 2008/09 school year there were 1,502,257 students in the entire Swiss educational system. In kindergarten or pre-school, there were 152,919 students (48.6% female). These students were taught by 13,592 teachers (96.0% female) in 4,949 schools, of which 301 were private schools. There were 777,394 students (48.6% female) in the obligatory schools, which include primary and lower secondary schools. These students were taught by 74,501 teachers (66.3% female) in 6,083 schools, of which 614 were private. The upper secondary school system had 337,145 students (46.9% female). They were taught by 13,900 teachers (42.3% female) in 730 schools, of which 240 were private. The tertiary education system had 234,799 students (49.7% female). They were taught by 37,546 teachers (32.8% female) in 367 schools.
Question: How many total schools were there?
Answer: 12129