CREATE TABLE table_203_671 (id NUMBER, "name" CLOB, "rank" CLOB, "age" NUMBER, "years until mandatory retirement" CLOB, "appointed by" CLOB, "year appointed" NUMBER)

how many justices were appointed in the year 2004 ?
SELECT COUNT("name") FROM table_203_671 WHERE "year appointed" = 2004
SELECT COUNT("name") FROM "table_203_671" WHERE "year appointed" = 2004