CREATE TABLE table_204_400 (id NUMBER, "district" NUMBER, "senator" CLOB, "party" CLOB, "caucus" CLOB, "first elected" NUMBER, "counties represented" CLOB)

how many republicans were elected after 2000 ?
SELECT COUNT(*) FROM table_204_400 WHERE "party" = 'republican' AND "first elected" > 2000
SELECT COUNT(*) FROM "table_204_400" WHERE "first elected" > 2000 AND "party" = 'republican'