How many {director} are for {American Idol} ?
American Idol has how many directors?
How many directors are there for Americal Idol?
SELECT ( COUNT ( ?o ) AS ?n ) { resource:American_Idol property:director ?o }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q201052> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P57> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q201052 wdt:P57 ?obj }
1