Did a production company 's founder write M0 , produce M2 , and write M1
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x1 a ns:film.production_company
}