Seol mar théacs é seo: A mathematical analysis of an election system proposed by Gottlob Frege