Was M2 written by a film producer , written by a company , and edited by M3
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:business.employer .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by ?x1
}