Were M2 and M7 influenced by M3 , M4 , M5 , and M6 and influenced by a Swedish person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.nationality ns:m.0d0vqn .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 ns:influence.influence_node.influenced_by M4 .
M2 ns:influence.influence_node.influenced_by M5 .
M2 ns:influence.influence_node.influenced_by M6 .
M7 ns:influence.influence_node.influenced_by ?x0 .
M7 ns:influence.influence_node.influenced_by M3 .
M7 ns:influence.influence_node.influenced_by M4 .
M7 ns:influence.influence_node.influenced_by M5 .
M7 ns:influence.influence_node.influenced_by M6
}