Were M1 , M3 , M4 , M5 , and M6 edited by a actor 's child and written by M2
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.actor .
M1 ns:film.film.edited_by ?x0 .
M1 ns:film.film.written_by M2 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.written_by M2 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.written_by M2 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.written_by M2 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.written_by M2
}