diff --git a/app/MetaGer.php b/app/MetaGer.php
index 1ae4df358eb0d7753eadddaefd7aff9f4aaeff5b..78f1f715388ff0af2928ab863a501736f6a03df8 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -140,6 +140,9 @@ class MetaGer
                         ->with('suspendheader', "yes")
                         ->with('browser', (new Agent())->browser());
                     break;
+                case 'result-count':
+                    return sizeof($viewResults);
+                    break;
                 default:
                     return view('metager3')
                         ->with('eingabe', $this->eingabe)
@@ -938,7 +941,7 @@ class MetaGer
         }
         $this->out = $request->input('out', "html");
         # Standard output format html
-        if ($this->out !== "html" && $this->out !== "json" && $this->out !== "results" && $this->out !== "results-with-style") {
+        if ($this->out !== "html" && $this->out !== "json" && $this->out !== "results" && $this->out !== "results-with-style" && $this->out !== "result-count") {
             $this->out = "html";
         }
     }