How many {field of work} are for {Simone de Beauvoir} ?
Simone de Beauvoir worked in how many fields?
In how many fields did Simone de Beauvoir work?
SELECT ( COUNT ( ?d ) AS ?k ) { resource:Simone_de_Beauvoir property:field_of_work ?d }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7197> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P101> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q7197 wdt:P101 ?obj }
6