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