Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDL_Container::Count

# IDL_Container::Count

The IDL_Container::Count function method returns the number of heap variables (objects or pointers) within the container.

## Syntax

Result = Obj->[IDL_Container::]Count()

## Return Value

An integer containing the current number of items within the container.

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced

## See Also

IDL_Container::Add, IDL_Container::Equals, IDL_Container::Get, IDL_Container::IsContained, IDL_Container::Move, IDL_Container::Remove