How many {streak color} are to/by {red} ?
How many streak colors does the color red have?
How many streaks colors does the color red possess?
SELECT ( COUNT ( ?n ) AS ?a ) { ?n property:streak_color resource:red }
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/P534> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q3142 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P534 wd:Q3142 }
7