query: #count number of people with a given identifier
  SELECT ?genderLabel (COUNT(?gender) AS ?gendercount ) 
  WHERE
  {
      ?subject wdt:P2750 ?id .
      ?subject wdt:P31 wd:Q5 .
      ?subject wdt:P21 ?gender . 
  	SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  }
  GROUP BY ?genderLabel