CREATE TABLE table_29795 ("No ( s ) . in series" FLOAT, "No ( s ) . in season" FLOAT, "Title" TEXT, "Directed by" TEXT, "Written by" TEXT, "Original air date" TEXT, "Production code ( s ) " FLOAT, "U.S. viewers  ( millions ) " TEXT)

What is the last episode in the series written by Gregory S. Malins?
SELECT MAX("No(s). in series") FROM table_29795 WHERE "Written by" = 'Gregory S. Malins'
SELECT MAX("No(s). in series") FROM "table_29795" WHERE "Written by" = 'Gregory S. Malins'