How many {significant drug interaction} are for {fentanyl} ?
the number of drug interactions for fentanyl is?
how many drug interactions does fentanyl have?
SELECT ( COUNT ( ?q ) AS ?x ) { resource:fentanyl property:significant_drug_interaction ?q }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q407541> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P769> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q407541 wdt:P769 ?obj }
5