diff --git a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx
index c46a11a1aabeb27b4629f6be61d52d19c1038ed2..d4de8f2a70d6a18e510debacf94f3147d9af6d74 100644
--- a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx
+++ b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx
@@ -280,6 +280,7 @@ void           VectorPrediction<RegressionMode>::DoExecute()
     {
       outLayer.CreateFeature(dstFeature);
     }
+    count++;
   }
 
   if (outLayer.ogr().TestCapability("Transactions"))