diff --git a/module/VuFind/src/VuFind/Db/Table/ResourceTags.php b/module/VuFind/src/VuFind/Db/Table/ResourceTags.php
index c1935e5e4b343e772d2f96a26f478c6e47336474..d2a4b60efb74894db8df88f70d42328253f66451 100644
--- a/module/VuFind/src/VuFind/Db/Table/ResourceTags.php
+++ b/module/VuFind/src/VuFind/Db/Table/ResourceTags.php
@@ -205,7 +205,7 @@ class ResourceTags extends Gateway
         $stats = (array)$result->current();
         if ($extended) {
             $stats['unique'] = count($this->getUniqueTags());
-            $stats['anonymous'] = count($this->getAnonymousCount());
+            $stats['anonymous'] = $this->getAnonymousCount();
         }
         return $stats;
     }