Table: election_results_1950_5
Columns: district
incumbent
party
first_elected
result
candidates

Question: What was the candidates for hardie scott
SQL: SELECT "candidates" FROM election_results_1950_5 WHERE "incumbent" = 'Hardie Scott'

Question: What is the number of candidates for pennsylvania 3
SQL: SELECT COUNT("candidates") FROM election_results_1950_5 WHERE "district" = 'Pennsylvania 3'

Question: What is the number of candidates for pennsylvania 21
SQL: SELECT COUNT("candidates") FROM election_results_1950_5 WHERE "district" = 'Pennsylvania 21'

Question: What is the party for first elected 1948 for william t. granahan
SQL: SELECT "party" FROM election_results_1950_5 WHERE "first_elected" = 1948 AND "incumbent" = 'William T. Granahan'