# LIST_STAT_NUM_COUNT

*LSL constant*

```lsl
integer LIST_STAT_NUM_COUNT = 8;
```

Option used with llListStatistics to determine the count of float and integer elements in the list.

Constant groups: [ListStatisticsOperation](/constants/groups/ListStatisticsOperation/)

Retrieves the number of float and integer elements.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
list mixedList = [5, 35.3, <1,2,3>, "42", "Hello"];
float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList );
//num == 2.0
```

</details>

## See also

### Functions

- [llListStatistics](/functions/llListStatistics/)

---

*Source: [LIST STAT NUM COUNT](https://wiki.secondlife.com/wiki/LIST_STAT_NUM_COUNT) on the Second Life Wiki. Content from the Second Life Wiki article LIST STAT NUM COUNT (revision 1194663, 2015-01-23), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/LIST_STAT_NUM_COUNT/
