How many {competition class} are to/by {women's sports} ?
Which sports categories may women participate in?
How many categories are there for women's sports?
SELECT ( COUNT ( ?j ) AS ?z ) { ?j property:competition_class resource:women's_sports }
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/P2094> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q920057 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2094 wd:Q920057 }
20672