Complex sentence: Each voter gets to elect the deputies of the canton he or she lives in and thus, each voter has as many votes as there are deputies to elect.
Split into simpler sentences: Each voter gets to elect the deputies of the canton in which he or she lives. Thus, each citizen has as many votes as there are deputies to elect.