Was M1 edited by M4 , written by M2 and M3 , written by M0 's child , and edited by M5
SELECT count(*) WHERE {
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M0 .
M1 ns:film.film.edited_by M4 .
M1 ns:film.film.edited_by M5 .
M1 ns:film.film.written_by ?x0 .
M1 ns:film.film.written_by M2 .
M1 ns:film.film.written_by M3
}