How many {represents} are to/by {Slovenia} ?
Who are the representatives from Slovenia?
How many representatives does Slovenia have?
SELECT ( COUNT ( ?n ) AS ?o ) { ?n property:represents resource:Slovenia }
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/P1268> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q215 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1268 wd:Q215 }
3