Task: Text to Code
Input (English): Query: SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
M1 ns:film.actor.film/ns:film.performance.character ?x0
} Question: Was a actor of M0 's director M1
Output (English): 1