diff --git a/rest_pruner.sh b/rest_pruner.sh
index 37cae6abd8f2dadb373f240c3983f10b05d03d9d..491c108d9a4959857820504c7ca33e0b1b852fa4 100755
--- a/rest_pruner.sh
+++ b/rest_pruner.sh
@@ -19,7 +19,7 @@ bOptDebug=0
 typeset -i iCountDirs=0
 typeset -i iCountMatch=0
 typeset -i iCountPrune=0
-
+typeset -i iCountPruneError=0
 
 typeset -i rcAll=0
 
@@ -104,7 +104,9 @@ function _prune(){
                     echo END $( date ) exitcode $rc | tee -a "${logfile}.running"
                     if [ "$rc" -eq "0" ]; then
                             mv "${logfile}.running" "${logfile}"
+                            iCountPrune+=1
                     else
+                            iCountPruneError+=1
                             mv "${logfile}.running" "${logfile}.error"
                     fi
                 fi
@@ -195,6 +197,13 @@ do
         _prune "${mydir}"
 done
 
+echo
+echo "Status:"
+echo "Directories: $iCountDirs"
+echo "Matching   : $iCountMatch"
+echo "Pruned     : $iCountPrune"
+echo "Prune erors: $iCountPruneError"
+echo
 
 echo "done - exitcode $rcAll"
 exit $rcAll