Did a German writer and director of M0 found M1 and found M2
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
?x0 ns:people.person.nationality ns:m.0345h
}