user: ### NOW ANSWER:
Question: How many episodes did matthew penn direct before season 22?
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text']
Sample row: [53.0, 1.0, '"A Time of Faith (Part 1)"', 'Frederick K. Keller', 'August 29, 1996', 'K1501']
SQL:

assistant: SELECT COUNT("Series #") FROM "Table" WHERE "Season #" < 22.0 AND "Directed by" = 'matthew penn';