Were M3 and M6 founded by a cinematographer that was employed by M1 and M2 and founded by M4 and M5
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:organization.organization.founders ?x0 .
M3 ns:organization.organization.founders M4 .
M3 ns:organization.organization.founders M5 .
M6 ns:organization.organization.founders ?x0 .
M6 ns:organization.organization.founders M4 .
M6 ns:organization.organization.founders M5
}