How many {astronomical filter} are to/by {visible spectrum} ?
What is the number of astonomical filters on the visible spectrum?
How many astonomical filters are on the visible spectrum?
SELECT ( COUNT ( ?q ) AS ?o ) { ?q property:astronomical_filter resource:visible_spectrum }
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/P1227> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q76299 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1227 wd:Q76299 }
4