user: ### NOW ANSWER:
Question: How many episodes were directed by Sarah Pia Anderson?
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [91.0, 1.0, '"Friends and Lovers"', "Bill D'Elia", 'David E. Kelley', 'October29,2001', '5M01']
SQL:

assistant: SELECT COUNT("Title") FROM "Table" WHERE "Directed by" = 'Sarah Pia Anderson';