Did M4 produce a film directed by M2 , edited by M1 , and directed by M3 's director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by M2 .
?x0 ns:film.film.edited_by M1 .
?x1 ns:film.director.film M3 .
M4 ns:film.producer.film|ns:film.production_company.films ?x0
}