How many {port of registry} are to/by {Majuro} ?
What is the number of Majuros in the port of registry?
How many Majuros are in the port of registry?
SELECT ( COUNT ( ?r ) AS ?z ) { ?r property:port_of_registry resource:Majuro }
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/P532> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q12919 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P532 wd:Q12919 }
1082