diff --git a/output/html/db_dupes.php b/output/html/db_dupes.php
index <HASH>..<HASH> 100644
--- a/output/html/db_dupes.php
+++ b/output/html/db_dupes.php
@@ -136,7 +136,12 @@ class QM_Output_Html_DB_Dupes extends QM_Output_Html {
 		if ( $dbq ) {
 			$dbq_data = $dbq->get_data();
 			if ( isset( $dbq_data['dupes'] ) && count( $dbq_data['dupes'] ) ) {
-				$count = count( $dbq_data['dupes'] );
+				$count = 0;
+
+				foreach ( $dbq_data['dupes'] as $dupe ) {
+					$count += count( $dupe );
+				}
+
 				$menu[ $this->collector->id() ] = $this->menu( array(
 					'title' => esc_html( sprintf(
 						/* translators: %s: Number of duplicate database queries */
Show the total duplicate query count instead of the number of distinct duplicates. Much more useful.