How many {founded by} are to/by {Bernard of Clairvaux} ?
What things were founded by Bernard of Clairvaux?
How many things are founded by Bernard of Clairvaux?
SELECT ( COUNT ( ?t ) AS ?h ) { ?t property:founded_by resource:Bernard_of_Clairvaux }
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/P112> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q188411 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P112 wd:Q188411 }
6