Were M2 and M3 founded by a actor and founded by a writer and executive producer of M0
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.actor .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x1 .
M3 ns:organization.organization.founders ?x0 .
M3 ns:organization.organization.founders ?x1
}