Index: trunk/ppMerge/src/ppMerge.c
===================================================================
--- trunk/ppMerge/src/ppMerge.c	(revision 7751)
+++ trunk/ppMerge/src/ppMerge.c	(revision 8405)
@@ -2,4 +2,5 @@
 #include <pslib.h>
 #include <psmodules.h>
+#include <ppStats.h>
 
 #include "ppMerge.h"
@@ -49,4 +50,12 @@
     ppMergeCombine(scale, zero, data, options, config);
 
+    if (data->statsFile) {
+        psMetadata *stats = ppStats(NULL, data->out, NULL, config); // Statistics for output FPA
+        psString statsOut = psMetadataConfigFormat(stats); // String to write out
+        fprintf(data->statsFile, "%s", statsOut);
+        psFree(statsOut);
+        psFree(stats);
+    }
+
     pmFPAPrint(stdout, data->out, true, true);
 
