How many {country for sport} are to/by {Brunei} ?
What sport games are played in the country of Brunei?
How many sports are in the country of Brunei?
SELECT ( COUNT ( ?f ) AS ?s ) { ?f property:country_for_sport resource:Brunei }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1532> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q921 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1532 wd:Q921 }
31