updated for version 7.0021
diff --git a/src/normal.c b/src/normal.c
index b252e2e..83759b7 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1127,6 +1127,11 @@
 #endif
     }
 
+    /* get the length of mapped chars again after typing a count, second
+     * character or "z333<cr>". */
+    if (old_mapped_len > 0)
+	old_mapped_len = typebuf_maplen();
+
     /*
      * If an operation is pending, handle it...
      */