CREATE TABLE table_24649082_1 (_number INT, written_by VARCHAR)

What is the most recent episode number written by Matthew Pitts?
SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts"
SELECT MAX("_number") FROM "table_24649082_1" WHERE "Matthew Pitts" = "written_by"