Table schema:
CREATE TABLE table_2668173_4 (first_elected VARCHAR, result VARCHAR)

Question: How many times did the incumbent was first elected and then lost re-election anti-masonic gain?
SQL: SELECT COUNT(first_elected) FROM table_2668173_4 WHERE result = "Lost re-election Anti-Masonic gain"