Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| District | Incumbent | Party | First elected | Result | Candidates |
| --- | --- | --- | --- | --- | --- |
| Pennsylvania 6 | Mathias Morris | Anti-Jacksonian | 1834.0 | Re-elected | Mathias Morris (W) 51.4% John Rockman (D) 48.6% |
| Pennsylvania 10 | William Clark | Anti-Masonic | 1832.0 | Retired Democratic gain | Luther Reily (D) 50.8% George W. Harris (W) 49.2% |
| Pennsylvania 11 | Henry Logan | Jacksonian | 1834.0 | Re-elected | Henry Logan (D) 58.2% Jacob Kirk (W) 41.8% |
| Pennsylvania 13 | Jesse Miller | Jacksonian | 1832.0 | Retired Democratic hold | Charles McClure (D) 57.5% William Sharon (W) 42.5% |
| Pennsylvania 15 | Andrew Beaumont | Jacksonian | 1832.0 | Retired Democratic hold | David Petrikin (D) 52.1% John McReynolds (W) 47.9% |
| Pennsylvania 18 | Job Mann | Jacksonian | 1832.0 | Lost re-election Anti-Masonic gain | Charles Ogle (AM) 51.7% Job Mann (D) 48.3% |
| Pennsylvania 20 | Andrew Buchanan | Jacksonian | 1832.0 | Re-elected | Andrew Buchanan (D) 100% |
Question:
How many times did the incumbent was first elected and then lost re-election anti-masonic gain?
Answer:
1.0