Was M2 written by , produced by , and edited by a person that M1 was directed by
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M1 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by ?x0
}