Were M3 , M5 , and M6 produced by a cinematographer that was employed by M1 and M2 and directed by M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.directed_by M4 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}