lance.LanceDataset.count_rows(filter: str | Expression | None = None, **kwargs) int

Count rows matching the scanner filter.

Parameters:
**kwargs : dict, optional

See py:method:scanner method for full parameter description.

Returns:

count – The total number of rows in the dataset.

Return type:

int