Were M2 , M3 , M4 , and M5 directed by a person that wrote , edited , and produced M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M5 ns:film.film.directed_by ?x0
}