bugfix: ignore __index when counting array elements