Did M3 star a cinematographer , star a screenwriter , star M4 , and star M1 's parent
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M1 .
?x2 a ns:film.cinematographer .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor ?x2 .
M3 ns:film.film.starring/ns:film.performance.actor M4
}