user: ### NOW ANSWER:
Question: Name the most times contested for Montgomeryshire
Columns: ['Borough', 'County', 'Franchise type', 'Members', 'Voters in 1800', 'Times contested', 'Fate in 1832']
Types: ['text', 'text', 'text', 'real', 'real', 'real', 'text']
Sample row: ['Beaumaris', 'Anglesey', 'Corporation', 1.0, 24.0, 0.0, 'Retained one seat']
SQL:

assistant: SELECT MAX("Times contested") FROM "Table" WHERE "County" = 'Montgomeryshire';