Was M0 's writer founded by M1 , founded by M3 's parent , and founded by M2
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:organization.organization.founders ?x1 .
?x0 ns:organization.organization.founders M1 .
?x0 ns:organization.organization.founders M2 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M3
}