qnli question: How many cantons were introduced as a Confederation by the Act of Mediation? sentence: The result was the Act of Mediation which largely restored Swiss autonomy and introduced a Confederation of 19 cantons.