How many {sex or gender} are to/by {non-binary} ?
What number of genders are there that identify as non-binary?
How many non-binary genders are there?
SELECT ( COUNT ( ?f ) AS ?d ) { ?f property:sex_or_gender resource:non-binary }
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/P21> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q48270 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P21 wd:Q48270 }
392