How many {rector} are for {Pompeu Fabra University} ?
Tell me how many reactors Pompeu Fabra University has.
Pompeu Fabra University has how many rectors?
SELECT ( COUNT ( ?x ) AS ?j ) { resource:Pompeu_Fabra_University property:rector ?x }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q24543> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1075> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q24543 wdt:P1075 ?obj }
1