Were M1 , M4 , and M5 written by M2 , written by a film distributor 's founder , and directed by M3
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x1 a ns:film.film_distributor .
M1 ns:film.film.directed_by M3 .
M1 ns:film.film.written_by ?x0 .
M1 ns:film.film.written_by M2 .
M4 ns:film.film.directed_by M3 .
M4 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by M2 .
M5 ns:film.film.directed_by M3 .
M5 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by M2
}