# Count

### **Description**‌

The Count function returns the number of rows in a table.

### **Syntax**

‌The syntax for the Count function is:

`Count(table)`

#### ‌**Parameters**

table - the table for which the rows are to be counted.

### **Returns**

‌The Count function returns an integer.

### **Example**‌

Let's look at some Count function examples and explore how to use the Count function.‌

<div align="left"><img src="https://529897662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-MZmc2hwNmUAnYJ4xByD%2F-MZqLDM_GZhrbVH2wLFi%2Fcolors.jpg?alt=media&#x26;token=6c6e94b4-4c75-454c-94b6-3f5a93d0e473" alt=""></div>

```
count(colors)
Result: 4

Count([col: "A"] & [col: "B"])
Result: 2
```
