Was M3 executive produced by a person , written by a film editor 's parent , and written by a film director
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x2 a ns:film.editor .
?x3 a ns:film.director .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M3 ns:film.film.written_by ?x3
}