Were M2 and M6 executive produced by M3 , M4 , and M5 and directed by a cinematographer that M1 was executive produced by
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.executive_produced_by M4 .
M2 ns:film.film.executive_produced_by M5 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.executive_produced_by M3 .
M6 ns:film.film.executive_produced_by M4 .
M6 ns:film.film.executive_produced_by M5
}