> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Object Collection hypothesis

> Object Collection hypothesis reference in the FlexiLayout language: the NumberOfObjects method returns how many classified objects the region contains.

A hypothesis generated for an **Object Collection** element provides the following method.

| Parameter               | Description                                                           |
| ----------------------- | --------------------------------------------------------------------- |
| `Int NumberOfObjects()` | The number of classified objects within the region of the hypothesis. |
