CREATE TABLE table_47400 ("Position" FLOAT, "Club" CLOB, "Played" FLOAT, "Points" FLOAT, "Wins" FLOAT, "Draws" FLOAT, "Losses" FLOAT, "Goals for" FLOAT, "Goals against" FLOAT, "Goal Difference" FLOAT)

What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38?
SELECT COUNT("Goals for") FROM table_47400 WHERE "Draws" = '3' AND "Losses" > '18' AND "Played" < '38'
SELECT COUNT("Goals for") FROM "table_47400" WHERE "Draws" = '3' AND "Losses" > '18' AND "Played" < '38'