Reads the number of entities in a binding from the UI5 model.
Playwright Page (or compatible subset).
OData model path (must start with '/').
Optional
OData options (timeout, modelName).
The entity count (0 if no data or not an array).
const count = await getEntityCount(page, '/Products'); Copy
const count = await getEntityCount(page, '/Products');
Reads the number of entities in a binding from the UI5 model.