Instruct: How many times did the incumbent was first elected and then lost re-election anti-masonic gain?
Output: SELECT COUNT First elected FROM table WHERE Result = Lost re-election Anti-Masonic gain