#include <include/flecs.h> FLECS_API int32_t ecs_table_count(const ecs_table_t *table)
Returns the number of records in the table. This operation returns the number of records that have been populated through the regular (entity) API as well as the number of records that have been inserted using the direct access API.
world- The world.
table- The table.
- The number of records in a table.