user: ### NOW ANSWER:
Question: What number of party had a candidate  Resigned when appointed judge Democratic hold?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'real', 'text', 'text']
Sample row: ['New York 3', 'Frank J. Becker', 'Republican', 1952.0, 'Re-elected', 'Frank J. Becker (R) 58.3% John Cogley (D) 41.7%']
SQL:

assistant: SELECT COUNT("Party") FROM "Table" WHERE "Result" = 'Resigned when appointed judge Democratic hold';