Were M3 and M5 founded by M4 , founded by a person , and founded by M0 's male writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:people.person .
M3 ns:organization.organization.founders ?x0 .
M3 ns:organization.organization.founders ?x1 .
M3 ns:organization.organization.founders M4 .
M5 ns:organization.organization.founders ?x0 .
M5 ns:organization.organization.founders ?x1 .
M5 ns:organization.organization.founders M4
}