Add --kati_stats option
diff --git a/exec.go b/exec.go
index 25c1559..b0edda0 100644
--- a/exec.go
+++ b/exec.go
@@ -476,6 +476,11 @@
 		targets = append(targets, ex.firstRule.outputs[0])
 	}
 
+	LogStats("%d variables", len(vars))
+	LogStats("%d explicit rules", len(ex.rules))
+	LogStats("%d implicit rules", len(ex.implicitRules))
+	LogStats("%d suffix rules", len(ex.suffixRules))
+
 	for _, target := range targets {
 		_, err := ex.build(vars, target, "")
 		if err != nil {