Were M2 and M4 founded by M3 , founded by M0 's editor , and founded by a screenwriter
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x1 a ns:film.writer .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x1 .
M2 ns:organization.organization.founders M3 .
M4 ns:organization.organization.founders ?x0 .
M4 ns:organization.organization.founders ?x1 .
M4 ns:organization.organization.founders M3
}