How many {political alignment} are to/by {left-wing} ?
The left-wing has how many political alignments?
How many political alignments are in the left-wing?
SELECT ( COUNT ( ?e ) AS ?q ) { ?e property:political_alignment resource:left-wing }
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/P1387> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q164597 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1387 wd:Q164597 }
591