How many {electorate} are for {Manila} ?
In regards to Manila, how many electorates does it have?
how many electorates does manila have?
SELECT ( COUNT ( ?w ) AS ?l ) { resource:Manila property:electorate ?w }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1461> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1831> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q1461 wdt:P1831 ?obj }
1