Context: CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR)
Question: What is the series number for the episode written by janet leahy?
Answer: SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy"