tensorstore.IndexDomain.size : int

Total number of elements in the domain.

This is simply the product of the extents in shape.