What number of party had a candidate  resigned when appointed judge democratic hold?
{'header': ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates'], 'page_title': '', 'section_title': '', 'caption': '', 'rows': [['New York 3', 'Frank J. Becker', 'Republican', '1952', 'Re-elected', 'Frank J. Becker (R) 58.3% John Cogley (D) 41.7%'], ['New York 8', 'Louis B. Heller', 'Democratic', '1949', 'Resigned when appointed judge Democratic hold', 'Victor Anfuso (D) 77.7% Eugene J. Renne (R) 22.3%'], ['New York 26', 'Ralph A. Gamble', 'Republican', '1937', 'Re-elected', 'Ralph A. Gamble (R) 64.0% Julia L. Crews (D) 36.0%'], ['New York 27', 'Ralph W. Gwinn', 'Republican', '1944', 'Re-elected', 'Ralph W. Gwinn (R) 57.2% John R. Harold (D) 42.8%'], ['New York 30', "Leo W. O'Brien", 'Democratic', '1952', 'Re-elected', "Leo W. O'Brien (D) 61.2% James W. Smith (R) 38.8%"]]}