Was M1 a actor that wrote and produced a film
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 a ns:film.actor .
M1 ns:film.producer.film|ns:film.production_company.films ?x0 .
M1 ns:film.writer.film ?x0
}