Did a film producer that M1 was produced by and was distributed by produce M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M3
}