human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: No., #, Title, Directed by, Written by, U.S. viewers (million), Rank (week), Original air date
###Question: How many episodes were written by seth hoffman, russel friend & garrett lerner?
gpt
SELECT COUNT Rank (week) FROM table WHERE Written by = Seth Hoffman, Russel Friend & Garrett Lerner