Question: What seasons  in series 7 did David E. Kelley write ?
SQL: SELECT COUNT Season # FROM table WHERE Written by = David E. Kelley AND Series # = 7