CREATE TABLE table_204_51 (id DECIMAL, "week #" TEXT, "theme" TEXT, "song choice" TEXT, "original artist" TEXT, "order #" DECIMAL, "result" TEXT)

what were the total number of weeks in which lopes was considered to be safe .
SELECT COUNT(DISTINCT "week #") FROM table_204_51 WHERE "result" = 'safe'
SELECT COUNT(DISTINCT "week #") FROM "table_204_51" WHERE "result" = 'safe'