           gen-type (util/get-gen-type request)]
       (log/debug "Got language:" lang)
       (response/json request
-                     (corpus/undump gen-type lang)))))
+                     (lang/lang-stats component gen-type lang)))))
 
 (defn read-name-stats
   [component]

          name-type (util/get-name-type request)
          gen-type (util/get-gen-type request)]
      (response/json request
                     (corpus/undump race name-type gen-type)))))

  (:require
    [hxgm30.httpd.kit.response :as response]
    [hxgm30.language.app.handler.util :as util]
    [hxgm30.language.components.lang :as lang]
    [taoensso.timbre :as log]))

(defn read-lang-stats
