buddhism has how many religious texts?
Value
14
class entity
religion.religious_text m.092bf5
religion.religious_text religion.religion
Religious Text Buddhism
count none
religion.religion.texts
Texts
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 :religion.religious_text . 
VALUES ?x1 { :m.092bf5 } 
?x1 :religion.religion.texts ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND religion.religious_text (JOIN (R religion.religion.texts) m.092bf5)))