Text this: A mathematical analysis of an election system proposed by Gottlob Frege