Table schema:
CREATE TABLE table_name_62 (position VARCHAR, goals_for VARCHAR, played VARCHAR)

Question: How many positions have goals of fewer than 40 and more than 38 played?
SQL: SELECT COUNT(position) FROM table_name_62 WHERE goals_for < 40 AND played > 38