Question: How many times did the incumbent was first elected and then Lost re-election Anti-Masonic gain?
SQL: SELECT COUNT("First elected") FROM "1-2668173-4" WHERE "Result" = 'Lost re-election Anti-Masonic gain';

Question: Who were the candidates if the incumbent was Henry Logan?
SQL: SELECT "Candidates" FROM "1-2668173-4" WHERE "Incumbent" = 'Henry Logan';

Question: What was the district of the incumbent Mathias Morris?
SQL: SELECT "District" FROM "1-2668173-4" WHERE "Incumbent" = 'Mathias Morris';

Question: How many incumbents was first elected in the Anti-Masonic party?
SQL: SELECT COUNT("First elected") FROM "1-2668173-4" WHERE "Party" = 'Anti-Masonic';