             (om/render main app
               {:path [:todos] :opts {:comm comm :editing (:editing app)}})
             (om/render footer app
-              {:path [] :opts {:active active :completed completed
-                               :comm comm :showing :all}})))))))
+              {:path [] :opts {:count active :completed completed :comm comm}})))))))
 
 (om/root app-state todo-app (.getElementById js/document "todoapp"))
 

    (dom/component
      (dom/footer #js {:id "footer"}
        (dom/span #js {:id "todo-count"}
          (dom/strong nil (count todos))
          (str " " (pluralize active "item") " left"))
        (dom/ul #js {:id "filters"}
          (dom/li nil
            (dom/a #js {:href "#/" :className (sel :all)} "All"))

                           todo))})
            (range (count todos))))))))

(defn footer [{:keys [showing todos] :as app} opts]
  (let [{:keys [count completed comm]} opts
        clear-button (when (pos? completed)
                       (dom/button
                         #js {:id "clear-completed"
