Were M3 , M5 , M6 , and M7 written by M4 and directed by a film director that founded M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.written_by M4 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.written_by M4 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.written_by M4 .
M7 ns:film.film.directed_by ?x0 .
M7 ns:film.film.written_by M4
}