How many {date of death} are for {William Herschel} ?
At which day died William Herschel?
What is the death day of the William Herschel} ?
SELECT ( COUNT ( ?e ) AS ?m ) { resource:William_Herschel property:date_of_death ?e }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q14277> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P570> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q14277 wdt:P570 ?obj }
1