How many {animal breed} are to/by {Thoroughbred} ?
A thoroughbred is part of what animal breed?
What animal breed is a Thoroughbred?
SELECT ( COUNT ( ?w ) AS ?a ) { ?w property:animal_breed resource:Thoroughbred }
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/P4743> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q210826 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P4743 wd:Q210826 }
6362