---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.5
alternate:
  - https://catboost.ai/docs/en/concepts/python-features-data_get-object-count.md
  - href: en/concepts/python-features-data_get-object-count.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# get_object_count

<!-- source: en/_includes/work_src/reusage-python/get_object_count-desc.md -->
<!-- source: en/_includes/work_src/reusage-python/num_row-desc.md -->
Return the number of objects contained in the dataset.
<!-- endsource: en/_includes/work_src/reusage-python/num_row-desc.md -->
<!-- endsource: en/_includes/work_src/reusage-python/get_object_count-desc.md -->


## Method call format {#call-format}

```python
get_object_count()
```

## Type of return value {#output-format}

int

