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