examples/demos/backbone_lmd/compiled/dev.lmd.js
function() {
        var completed = todos.completed().length;
        var remaining = todos.remaining().length;

        if (todos.length) {
            this.$main.show();
            this.$footer.show();

            this.$footer.html(this.template({
                completed: completed,
                remaining: remaining
            }));

            this.$('#filters li a')
                .removeClass('selected')
                .filter( '[href="#/' + ( common.TodoFilter || '' ) + '"]' )
                .addClass('selected');
        } else {
            this.$main.hide();
            this.$footer.hide();
        }

        this.allCheckbox.checked = !remaining;
    }
function() {
        var completed = todos.completed().length;
        var remaining = todos.remaining().length;

        if (todos.length) {
            this.$main.show();
            this.$footer.show();

            this.$footer.html(this.template({
                completed: completed,
                remaining: remaining
            }));

            this.$('#filters li a')
                .removeClass('selected')
                .filter( '[href="#/' + ( common.TodoFilter || '' ) + '"]' )
                .addClass('selected');
        } else {
            this.$main.hide();
            this.$footer.hide();
        }

        this.allCheckbox.checked = !remaining;
    }
Re-rendering the App just means refreshing the statistics -- the rest of the app doesn't change.