diff --git a/core/dbt/compilation.py b/core/dbt/compilation.py
index <HASH>..<HASH> 100644
--- a/core/dbt/compilation.py
+++ b/core/dbt/compilation.py
@@ -46,8 +46,10 @@ def print_compile_stats(stats):
     results = {k: 0 for k in names.keys()}
     results.update(stats)
 
-    stat_line = ", ".join(
-        [dbt.utils.pluralize(ct, names.get(t)) for t, ct in results.items()])
+    stat_line = ", ".join([
+        dbt.utils.pluralize(ct, names.get(t)) for t, ct in results.items()
+        if t in names
+    ])
 
     logger.info("Found {}".format(stat_line))
 
diff --git a/core/dbt/logger.py b/core/dbt/logger.py
index <HASH>..<HASH> 100644
--- a/core/dbt/logger.py
+++ b/core/dbt/logger.py
@@ -315,7 +315,7 @@ class HookMetadata(NodeMetadata):
         ]
 
 
-class TimestampNamed(JsonOnly):
+class TimestampNamed(logbook.Processor):
     def __init__(self, name: str):
         self.name = name
         super().__init__()
fix for stdout logging of on-run- hooks