Schema: CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
Question: What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?
SQL: SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"