how many scholarly works discuss the information retrieval?
Value
2
class entity
book.scholarly_work m.03y9s
book.scholarly_work book.book_subject
Scholarly work Information retrieval
count none
book.written_work.subjects
Subjects
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 :book.scholarly_work . 
VALUES ?x1 { :m.03y9s } 
?x0 :book.written_work.subjects ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND book.scholarly_work (JOIN book.written_work.subjects m.03y9s)))