query: #Properties grouped by their Wikibase datatype (Q19798645) with number of properties
  #Properties grouped by their type with number of properties
  SELECT (COUNT(?property) as ?pcount ) ?wbtype WHERE {
    ?property rdf:type               wikibase:Property.
    ?property wikibase:propertyType  ?wbtype.
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  }
  GROUP BY ?wbtype
  ORDER BY DESC(?pcount)