Index: branches/release-33/php/lib/archive_lib.php
===================================================================
--- branches/release-33/php/lib/archive_lib.php (revision 1742)
+++ branches/release-33/php/lib/archive_lib.php (revision 1747)
@@ -68,4 +68,5 @@
     function setup_args($ctx, &$args) { }
     function template_params(&$ctx) { }
+    function is_date_based() { return false; }
 }
 
@@ -145,4 +146,6 @@
 
     // Override Method
+  function is_date_based() { return true; }
+
     function archive_prev_next($args, $content, &$ctx, &$repeat, $tag, $at) {
         $localvars = array('current_timestamp', 'current_timestamp_end', 'entries');
Index: branches/release-33/php/lib/function.mtarchivecount.php
===================================================================
--- branches/release-33/php/lib/function.mtarchivecount.php (revision 1174)
+++ branches/release-33/php/lib/function.mtarchivecount.php (revision 1747)
@@ -7,5 +7,12 @@
 
 function smarty_function_mtarchivecount($args, &$ctx) {
-    if ($ctx->stash('inside_mt_categories')) {
+    $at = '';
+    $archiver = null;
+    if ($at = $ctx->stash('current_archive_type')) {
+        require_once("archive_lib.php");
+        global $_archivers;
+        $archiver = $_archivers[$at];
+    }
+    if ($ctx->stash('inside_mt_categories') && !$archiver->is_date_based()) {
         return $ctx->tag('MTCategoryCount', $args);
     } elseif ($count = $ctx->stash('archive_count')) {
@@ -16,10 +23,7 @@
         $eargs = array();
         $eargs['blog_id'] = $ctx->stash('blog_id');
-        if ($at = $ctx->stash('current_archive_type')) {
-            require_once("archive_lib.php");
+        if ($at) {
             $ts = $ctx->stash('current_timestamp');
             $tse = $ctx->stash('current_timestamp_end');
-            global $_archivers;
-            $archiver = $_archivers[$at];
             if (isset($archiver)) {
                 if ($ts && $tse) {
