Did a editor and art director of M5 edit M0 , M1 , and M2 , write M3 , and produce M4
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M5 .
?x0 ns:film.film_art_director.films_art_directed M5 .
?x0 ns:film.producer.film|ns:film.production_company.films M4 .
?x0 ns:film.writer.film M3
}