query: SELECT ?item ?itemLabel (COUNT(DISTINCT ?film) AS ?count)
  WHERE
  {
      hint:Query hint:optimizer "None" . 
      ?film p:P161 / pq:P453 ?item . 
      VALUES ?filmtype {wd:Q11424 wd:Q24862 wd:Q20667187 wd:Q226730} . 
      ?film wdt:P31 ?filmtype . 
      SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } 
  }
  GROUP BY ?item ?itemLabel
  ORDER BY DESC (?count)
  LIMIT 12