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