Index: menu_block_split.module
===================================================================
--- menu_block_split.module	(revision 30336)
+++ menu_block_split.module	(working copy)
@@ -199,7 +199,7 @@
 
   $output = '';
 
-  $num_items = count($tree);
+  $num_items = menu_block_split_count_active_items($tree);
   $n = 1;
   foreach ($tree as $i => $mid) {
     if ($mid['link']['hidden'] == 0) {
@@ -234,6 +234,22 @@
 }
 
 /**
+ * Count the number of active items in a menu.
+ *
+ * @param array $tree
+ * @return int
+ */
+function menu_block_split_count_active_items($tree) {
+  $count = 0;
+  foreach($tree as $item) {
+    if ($item['link']['hidden'] == 0) {
+      $count++;
+    }
+  }
+  return $count;
+}
+
+/**
  * Get info about first level.
  *
  * @param array $trail current trail
