Merge pull request #2768 from porquero/patch-1

Added post-increment for $count
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index 50ba167..7c889dd 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -278,6 +278,7 @@
 			}
 
 			$output .= "</table>\n</fieldset>";
+			$count++;
 		}
 
 		return $output;
@@ -563,4 +564,4 @@
 }
 
 /* End of file Profiler.php */
-/* Location: ./system/libraries/Profiler.php */
\ No newline at end of file
+/* Location: ./system/libraries/Profiler.php */