How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24?
CREATE TABLE table_28858 (
    "District" text,
    "Incumbent" text,
    "Party" text,
    "First elected" text,
    "Result" text,
    "Candidates" text
)
SELECT COUNT("First elected") FROM table_28858 WHERE "Result" = 'Re-elected' AND "Party" = 'Anti-Masonic' AND "District" = 'Pennsylvania 24'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24? ### Input: CREATE TABLE table_28858 (
    "District" text,
    "Incumbent" text,
    "Party" text,
    "First elected" text,
    "Result" text,
    "Candidates" text
) ### Response: SELECT COUNT("First elected") FROM table_28858 WHERE "Result" = 'Re-elected' AND "Party" = 'Anti-Masonic' AND "District" = 'Pennsylvania 24'