How many {medical condition treated} are to/by {cough} ?
What is the number of medical tests performed for a cough?
How many medicals tests are tested for the {cough} ?
SELECT ( COUNT ( ?n ) AS ?v ) { ?n property:medical_condition_treated resource:cough }
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/P2175> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q35805 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2175 wd:Q35805 }
11