Context: As of 2000[update], there were 9,045 pupils in Bern who came from another municipality, while 1,185 residents attended schools outside the municipality.

Question: How many pupils lived in another municipality?

Answer: 9,045