# RECORDCOUNT

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/keywords/recordcount
>
> RECORDCOUNT keyword returns the number of records returned by the last select query, and which Actions (SELECT, SQL Advanced, Exec. Procedure) set it.

This Keyword returns a _\<numeric>_, the number of records returned by the last "select" query.

:::warning
The following Actions can affect the value of this Keyword:
:::

| **Action**                                                            | Note                                                                                                                                          |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [SELECT](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-database/select.md)                   | The Keyword assumes the number of records returned by the query.                                                                              |
| [SQL Advanced](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-database/sql-advanced.md)       | If the executed query is a "select", the Keyword assumes the number of records returned by the query. Otherwise, the Keyword assumes value 0. |
| [Exec. Procedure](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-database/exec.-procedure.md) | If a "select" is performed inside the procedure, the Keyword assumes the number of records returned by the first one.                         |

:::info
The "[Lookup](https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/conditional-functions/lookup.md)" Function doesn't affect this Keyword.
:::
