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

hom many justices served above 10 years before retirement ?
SELECT COUNT("name") FROM table_203_671 WHERE "years until mandatory retirement" > 10
SELECT COUNT("name") FROM "table_203_671" WHERE "years until mandatory retirement" > 10