human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: No. in series, No. in season, Title, Directed by, Written by, Original air date
###Question: Name the total number in the series written by john banas and directed by pino amenta
gpt
SELECT COUNT No. in series FROM table WHERE Written by = John Banas AND Directed by = Pino Amenta