In Denmark, universities (and possibly high schools too, I don't know for sure) get paid by the government based on the number of students passing exams every semester. I think this is part of what's called "new public management" where you attempt to bring market-like incentives to the public sector.