# QueryRecordCount()

Returns the row count of given query

```
QueryRecordCount( query=query );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| query | query | Yes | Query object to get data from. |  |

# Examples

```cfml
qry=queryNew("aaa");
arr=arrayNew(1);
arr[1]="a";
arr[2]="b";
arr[3]="c";
QueryAddColumn(qry,"b",arr);
writeDump(queryrecordcount(qry));
```







# Categories

[Queries](../../categories/query.md)

# See Also

[Len()](len.md), [query.recordCount()](../objects/query/recordcount.md)