Was M3 executive produced by M0 's editor , edited by a person , and written by a parent of a cinematographer
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?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.cinematographer .
?x3 a ns:people.person .
M3 ns:film.film.edited_by ?x3 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}