how many elections in all did robert hamilton win?
(COUNT (AND government.election (JOIN government.election.winner m.02r7ztr)))