         lexicon
         #?(:clj (if (future? lexicon) @lexicon lexicon))
         #?(:cljs lexicon)]
-    (log/info (str "using grammar of size: " (.size grammar)))
-    (log/info (str "using index of size: " (.size index)))
+    (log/info (str "using grammar of size: " (count grammar)))
+    (log/info (str "using index of size: " (count index)))
     (if (seq? spec)
       #?(:clj (pmap generate-all spec grammar lexicon index morph))
       #?(:cljs (map generate-all spec grammar lexicon index morph))

                       (let [result (get-lex immediate-parent :comp cache spec)]
                         (if (not (nil? result))
                           (log/debug (str " cached lexical subset ratio: " 
                                           (string/replace (str (/ (* 1.0 (/ (.size lexicon) (.size result)))))
                                                           #"\.(..).*"
                                                           (fn [[_ two-digits]] (str "." two-digits))))))
                         result))

                          (log/debug (str "calling overh with parent: [" (get-in parent [:rule]) "]" "'" (morph parent) "'"
                                          " and children: "
                                          (if phrasal-children
                                            (str "(" (count phrasal-children) ")")
                                            "(nil)")
                                          (string/join ","
                                           (map (fn [child]
