Did M3 and M5 employ a cinematographer that played M1 and M2 and employ M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:film.actor.film/ns:film.performance.character M2 .
M3 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M3 ns:business.employer.employees/ns:business.employment_tenure.person M4 .
M5 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M5 ns:business.employer.employees/ns:business.employment_tenure.person M4
}