instruction: How many movies did ' Matt Damon ' direct ?
response: SELECT COUNT(DISTINCT (movie.title)) FROM directed_by, director, movie WHERE director.did = directed_by.did AND director.name = 'Matt Damon' AND movie.mid = directed_by.msid