File size: 501 Bytes
d283111
8bea1c6
 
 
b4e6922
d283111
 
 
 
 
 
8bea1c6
 
 
f40cc38
8bea1c6
 
 
f40cc38
 
 
 
 
 
 
8bea1c6
 
b4e6922
8bea1c6
 
 
f40cc38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: Element Count
tags:
- evaluate
- measurement
sdk: gradio
sdk_version: 3.0.2
app_file: app.py
pinned: false
---

# Measurement Card for Element Count

## Measurement Description
Counts the number of elements in dataset. 

## How to Use

```python
import evaluate
measure = evaluate.load("lvwerra/element_count")
measure.compute(["a", "b", "c")
>>> {"element_count": 3}
```


### Inputs
- **data** *(``List``): List of integers

### Output Values

Returns a dictionary with the element count.