How many {professorship} are to/by {Collège de France} ?
College de France has how many professorships?
How many professorships are in the College de France?
SELECT ( COUNT ( ?l ) AS ?w ) { ?l property:professorship resource:Collège_de_France }
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/P803> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q202660 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P803 wd:Q202660 }
3