Fixed total method count in profile file parsing.

Change-Id: Iae38b3ca296378d17f054ac330301035ec684084
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 59754d5..4f98ba4 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -2050,7 +2050,7 @@
   // This is the number of hits in all methods.
   uint32_t total_count = 0;
   for (int i = 0 ; i < 3; ++i) {
-    total_count += atoi(summary_info[0].c_str());
+    total_count += atoi(summary_info[i].c_str());
   }
 
   // Now read each line until the end of file.  Each line consists of 3 fields separated by /