How many {color} are to/by {amber} ?
What colors are similar to amber?
How many colors are like amber?
SELECT ( COUNT ( ?w ) AS ?x ) { ?w property:color resource:amber }
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/P462> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q679355 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P462 wd:Q679355 }
8