Was a screenwriter employed by M2 and M3 and employed by M4 , M5 , and M6 a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 a ns:film.writer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M5 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M6
}