Were M2 , M5 , and M6 influenced by M3 and M4 , influenced by a film producer , and influenced by M1 's employee
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 ns:influence.influence_node.influenced_by M4 .
M5 ns:influence.influence_node.influenced_by ?x0 .
M5 ns:influence.influence_node.influenced_by ?x1 .
M5 ns:influence.influence_node.influenced_by M3 .
M5 ns:influence.influence_node.influenced_by M4 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by ?x1 .
M6 ns:influence.influence_node.influenced_by M3 .
M6 ns:influence.influence_node.influenced_by M4
}