Was M2 founded by a person that wrote M1 and founded by M3 and M4
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.writer.film M1 .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders M3 .
M2 ns:organization.organization.founders M4
}