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