{% if model.mbd %} {% mbd_model_stats model.mbd.class_path as stats %} ({{ stats.total }} {% if stats.active %} {{ stats.active }}{% endif %} {% if stats.prepared %} {{ stats.prepared }}{% endif %} {% if stats.removed %} {{ stats.removed }}{% endif %}) {% endif %}