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.
Answer in sentence: yes