At every election the person or persons, to the number to be elected therein, who shall by law be qualified for the office or offices to be filled at such election, and for whom the greatest number of votes shall have been given therein for such office or offices, shall be deemed and taken to be elected to such office or offices.
N.J.S. § 19:3-4