diff --git a/reposync/runreposync.sh b/reposync/runreposync.sh
index 7d91a5bf079e23cbae1d94aae0c1877fe941fbfe..97861efa1dbce4825613f8a5ebe93d94d2636361 100755
--- a/reposync/runreposync.sh
+++ b/reposync/runreposync.sh
@@ -153,6 +153,16 @@ for rpm in ${CHANGELIST}; do
 EOF
 done
 
+CHANGECOUNT=`echo "${CHANGELIST}" | wc -l | awk '{print $1}'`
+
+cat << EOF | log
+  "message_type": "result",
+  "exit_code": ${RET},
+  "pre_count": ${PRECOUNT},
+  "post_count": ${POSTCOUNT},
+  "change_count": ${CHANGECOUNT}
+EOF
+
 # Turn the new-line separated list of changes into a comma-separated list of quoted strings
 LIST=`sed 's/^/"/;s/$/"/;s/^""$//' <(echo "${CHANGELIST}") | /usr/bin/tr '\n' ',' | sed 's/,$//'`