How many {record held} are to/by {pole vault} ?
Tell me how many records are held for pole vaulting.
how many records are held for pole vaulting?
SELECT ( COUNT ( ?h ) AS ?y ) { ?h property:record_held resource:pole_vault }
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/P1000> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q185027 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1000 wd:Q185027 }
3