How many {lifestyle} are to/by {veganism} ?
Veganism is part of how many lifestyles?
How many lifestyles include veganism?
SELECT ( COUNT ( ?q ) AS ?r ) { ?q property:lifestyle resource:veganism }
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/P1576> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q181138 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1576 wd:Q181138 }
283