[🏠 Inicio](../README.md)

## count Method
The count method returns the total number of rows in a specified table.

### Syntax
````javascript
async count(tableName)
````
### Parameters
* tableName (String): The name of the table to count rows from.
### Returns
* The total number of rows in the table.
### Example
````javascript
const totalRows = await db.count('tableName');
console.log(totalRows);
````