CREATE TABLE table_204_77 (id DECIMAL, "number" TEXT, "builder" TEXT, "type" TEXT, "date" TEXT, "works number" DECIMAL, "notes" TEXT)

how many different types of diesel locomotives came from baldwin locomotive works ?
SELECT COUNT(DISTINCT "type") FROM table_204_77 WHERE "builder" = 'baldwin locomotive works'
SELECT COUNT(DISTINCT "type") FROM "table_204_77" WHERE "builder" = 'baldwin locomotive works'