How many {approved by} are to/by {Free Software Foundation} ?
How many approved by are by Free Software Foundation?
SELECT ( COUNT ( ?o ) AS ?h ) { ?o property:approved_by resource:Free_Software_Foundation }
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/P790> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q48413 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P790 wd:Q48413 }
73