what is the {quantity} for {Very Large Telescope} has {diameter} as {8.2} ?
List the number of large telescopes with an 8.2 diameter.
How many large telescopes have a diameter of 8.2?
SELECT ?q WHERE { FILTER ( ?s = 8.2 ) . ?w property:quantity ?q . resource:Very_Large_Telescope property:diameter ?w . ?w property:diameter ?s }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q265628> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2386> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <8.2> .
?statement <http://www.wikidata.org/entity/P1114> ?value. 
} 

SELECT ?value WHERE { wd:Q265628 p:P2386 ?s . ?s ps:P2386 ?x filter(contains(?x , '8.2')) . ?s pq:P1114 ?value}