Was M5 distributed by M6 and produced by a Italian screenwriter that produced M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M4 .
?x0 ns:people.person.nationality ns:m.03rjj .
M5 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M6 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}