how many works of literature did david salo compose in sindarin language?
Value
25
class entity entity
music.composition m.0g3cc m.02b2lw
music.composition language.conlang music.lyricist
Composition sindarin language David Salo
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.0g3cc } 
VALUES ?x2 { :m.02b2lw } 
?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.0g3cc) (JOIN music.composition.lyricist m.02b2lw))))