# COUNT

#### Syntax <a href="#syntax.13" id="syntax.13"></a>

**COUNT**(*range*; *orientation; option*)

* *range* - eine Reihe von Werten- ***Wertetyp**: Bereich*
* *orientation* - die Ausrichtung der Zählberechnung - ***Wertetyp**: Konstante (optional, Standardwert: <mark style="color:red;">all</mark>).* Mögliche Werte sind:
  * *<mark style="color:red;">all</mark>* - der gesamte Bereich wird gezählt und als eine einzige Zahl zurückgegeben
  * *<mark style="color:red;">horizontal</mark>* - die Zählung wird horizontal (zeilenweise) durchgeführt und als Spalte zurückgegeben
  * *<mark style="color:red;">vertical</mark>* - die Zählung wird vertikal (spaltenweise) durchgeführt und als Zeile zurückgegeben
* *option* - legt fest, ob auch leere Zellen mitgezählt werden - ***Wertetyp**: Konstante (optional, Standardwert: <mark style="color:red;">numericcells</mark>)*\
  Mögliche Werte sind:
  * *<mark style="color:red;">numericcells</mark>*
  * *<mark style="color:red;">nonemptycells</mark>*
  * *<mark style="color:red;">allcells</mark>*

#### Bemerkungen <a href="#remarks.10" id="remarks.10"></a>

* Wenn Parameter 3 definiert ist, muss auch Parameter 2 definiert sein.

#### Beispiele

<figure><img src="/files/jBiiE40wi0WHRDOrQc66" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fHGhCq41MhRePTSfgzLJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/rNxvXkJdqafp7E3AcQ77" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.52-de-preview/clearlines-funktionen/bereichs-funktionen/count.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
