Doc > Expressions > objectsCount

Doc > Expressions > objectsCount

Returns the number of objects in a geometry.

Description

It takes 1 arguments.

objectsCount(<input_index_or_node_path>)

  • <input_index_or_node_path> returns the number of objects, as a number

Usage

  • objectsCount(0) - returns the number of objects in the input node.
  • objectsCount('/geo/merge1') - returns the number of objects in the node /geo/merge1