Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
How many laps did Nick Heidfeld drive on grids larger than 4?
### Answer:
SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld"