Was M2 influenced by M3 , M4 , M5 , and M6 and influenced by a male spouse of a executive producer of M1
SELECT count(*) WHERE {
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 ns:film.producer.films_executive_produced M1 .
FILTER ( ?x0 != ?x1 ) .
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
}