what is the number of functions the executive tower j serves?
Value
1
class entity
architecture.building_function m.0wskvrp
architecture.building_function architecture.skyscraper
Building function Executive Tower J
count none
architecture.building.building_function
Building Function
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 :architecture.building_function . 
VALUES ?x1 { :m.0wskvrp } 
?x1 :architecture.building.building_function ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND architecture.building_function (JOIN (R architecture.building.building_function) m.0wskvrp)))