How many {carries scientific instrument} are for {Hubble Space Telescope} ?
For the Hubble Space Telescope, how many scientific instruments are there?
How many scientific Instruments are there for {Hubble Space Telescope} ?
SELECT ( COUNT ( ?j ) AS ?f ) { resource:Hubble_Space_Telescope property:carries_scientific_instrument ?j }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2513> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1202> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q2513 wdt:P1202 ?obj }
12