how many subjects does the wanderer have?
Value
1
class entity
book.periodical_subject m.061w14
book.periodical_subject book.newspaper
Periodical Subject The Wanderer
count none
book.periodical.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.periodical_subject . 
VALUES ?x1 { :m.061w14 } 
?x1 :book.periodical.subjects ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND book.periodical_subject (JOIN (R book.periodical.subjects) m.061w14)))