Were M3 and M6 influenced by M4 and M5 and influenced by a female person influenced by M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:people.person.gender ns:m.02zsn .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by M4 .
M3 ns:influence.influence_node.influenced_by M5 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by M4 .
M6 ns:influence.influence_node.influenced_by M5
}