Were M2 , M4 , and M5 founded by M1 's producer , founded by M3 , and founded by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x1 .
M2 ns:organization.organization.founders M3 .
M4 ns:organization.organization.founders ?x0 .
M4 ns:organization.organization.founders ?x1 .
M4 ns:organization.organization.founders M3 .
M5 ns:organization.organization.founders ?x0 .
M5 ns:organization.organization.founders ?x1 .
M5 ns:organization.organization.founders M3
}