what is the number of comic book writers whose profession is science-fiction writer?
Value
1
class entity
comic_books.comic_book_writer m.02kvl4z
comic_books.comic_book_writer people.profession
Comic Book Writer Science-fiction writer
count none
people.profession.people_with_this_profession
People With This Profession
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 :comic_books.comic_book_writer . 
VALUES ?x1 { :m.02kvl4z } 
?x1 :people.profession.people_with_this_profession ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND comic_books.comic_book_writer (JOIN (R people.profession.people_with_this_profession) m.02kvl4z)))