Was M3 written by a cinematographer that M1 was founded by and M2 was founded by and directed by M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.written_by ?x0
}