How many {child} are for {Francesco I Sforza} ?
How many children does Francesco I Sforza have?
Francesco I Sforza has how many children?
SELECT ( COUNT ( ?x ) AS ?j ) { resource:Francesco_I_Sforza property:child ?x }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q310536> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q310536 wdt:P40 ?obj }
12