diff --git a/captcha.install b/captcha.install
index fe543f1..68a29fb 100755
--- a/captcha.install
+++ b/captcha.install
@@ -90,7 +90,11 @@ function captcha_requirements($phase) {
   $requirements = [];
   $config = \Drupal::config('captcha.settings');
 
-  if ($phase == 'runtime' && $config->get('enable_stats')) {
+  if (
+    $phase == 'runtime' 
+    && $config->get('enable_stats')
+    && \Drupal::state()->get('captcha.wrong_response_counter')
+  ) { 
     // Show the wrong response counter in the status report.
     $requirements['captcha_wrong_response_counter'] = [
       'title' => \Drupal::translation()->translate('CAPTCHA'),
