# Source: https://docs.lancedb.com/api-reference/tables/count-table-rows.md

# Count Table Rows

> Count the number of rows in a table with optional filtering. You can pass a SQL predicate to count only the rows that match specific criteria.



---

> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://docs.lancedb.com/llms.txt