A Mathematical Analysis of an Election System Proposed by Gottlob Frege