qi gong belongs to how many martial arts categories?
Value
1
class entity
martial_arts.martial_art_category m.0bmkv
martial_arts.martial_art_category martial_arts.martial_art
Martial Art Category qi gong
count none
martial_arts.martial_art.category
Category
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 :martial_arts.martial_art_category . 
VALUES ?x1 { :m.0bmkv } 
?x1 :martial_arts.martial_art.category ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND martial_arts.martial_art_category (JOIN (R martial_arts.martial_art.category) m.0bmkv)))