john ronald reuel tolkien wrote how many compositions in quenya?
Value
4
class entity entity
music.composition m.0h18y m.041h0
music.composition language.conlang music.lyricist
Composition Quenya john ronald reuel tolkien
count none none
music.composition.language music.composition.lyricist
Language Lyricist
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :music.composition . 
VALUES ?x1 { :m.0h18y } 
VALUES ?x2 { :m.041h0 } 
?x0 :music.composition.language ?x1 . 
?x0 :music.composition.lyricist ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(COUNT (AND music.composition (AND (JOIN music.composition.language m.0h18y) (JOIN music.composition.lyricist m.041h0))))