query: select ?item ?count with {
  SELECT ?lang (COUNT(DISTINCT ?article) AS ?count) WHERE {
      ?article schema:about/wdt:P31 wd:Q7889 .
      FILTER (SUBSTR(str(?article), 11, 15) = ".wikipedia.org/") .
      ?article schema:inLanguage ?lang .
      } 
  group by ?lang } as %i
  where
  {
    include %i
      ?item wdt:P31 wd:Q10876391.
      ?item wdt:P424 ?lang      
  }
       ORDER BY DESC(?count)