Were M2 and M5 founded by a cinematographer , founded by M3 and M4 , and founded by M1 's actor
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x1 .
M2 ns:organization.organization.founders M3 .
M2 ns:organization.organization.founders M4 .
M5 ns:organization.organization.founders ?x0 .
M5 ns:organization.organization.founders ?x1 .
M5 ns:organization.organization.founders M3 .
M5 ns:organization.organization.founders M4
}