> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-vortex-format.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> يحسب عدد الصفوف التي لا تكون فيها أيٌّ من القيمتين `y` و`x` مساوية لـ `NULL`.

# regr_count

<h2 id="regr_count">
  regr\_count
</h2>

أُضيف في: v26.9.0

يحسب عدد الصفوف التي لا تكون فيها أيٌّ من القيمتين `y` و`x` مساويةً لـ `NULL`.

**الصيغة**

```sql theme={null}
regr_count(y, x)
```

**الأسماء البديلة**: `regrCount`

**الوسيطات**

* `y` — المتغير التابع. [`(U)Int*`](/ar/reference/data-types/int-uint) أو [`Float*`](/ar/reference/data-types/float)
* `x` — المتغير المستقل. [`(U)Int*`](/ar/reference/data-types/int-uint) أو [`Float*`](/ar/reference/data-types/float)

**القيمة المعادة**

تُعيد عدد الأزواج التي لا تحتوي على قيم NULL. [`UInt64`](/ar/reference/data-types/int-uint)

**أمثلة**

**الاستخدام الأساسي**

```sql title=Query theme={null}
SELECT regr_count(y, x)
FROM VALUES('x Float64, y Float64', (1, 2), (2, 4), (3, 6), (4, 8))
```

```response title=Response theme={null}
┌─regr_count(y, x)─┐
│                4 │
└──────────────────┘
```
