@Override
    public long size() { return index.denseSubspaces.size() * index.denseSubspaceSize; }
Returns the size of the tensor measured in number of cells
vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java