Index: trunk/MagicSoft/Mars/mbase/MEnv.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MEnv.cc	(revision 8239)
+++ trunk/MagicSoft/Mars/mbase/MEnv.cc	(revision 8240)
@@ -851,2 +851,17 @@
         gLog << inf << i << " resources have not been touched." << endl;
 }
+
+//---------------------------------------------------------------------------
+//
+// Return number of resources which have not been touched.
+//
+Int_t MEnv::GetNumUntouched() const
+{
+    int i=0;
+    TIter Next(GetTable());
+    TObject *o=0;
+    while ((o=Next()))
+        if (!fChecked.FindObject(o->GetName()))
+            i++;
+    return i;
+}
Index: trunk/MagicSoft/Mars/mbase/MEnv.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MEnv.h	(revision 8239)
+++ trunk/MagicSoft/Mars/mbase/MEnv.h	(revision 8240)
@@ -66,4 +66,5 @@
 
     void PrintUntouched() const;
+    Int_t GetNumUntouched() const;
 
     ClassDef(MEnv, 0) // A slightly more advanced version of TEnv
