how many newspaper issue does wall street journal have?
Value
2
class entity
book.newspaper_issue m.017b3j
book.newspaper_issue book.newspaper
Newspaper Issue wall street journal
count none
book.newspaper_issue.newspaper
Newspaper
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.newspaper_issue . 
VALUES ?x1 { :m.017b3j } 
?x0 :book.newspaper_issue.newspaper ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND book.newspaper_issue (JOIN book.newspaper_issue.newspaper m.017b3j)))