Get length of BrainVector. This is the numbe rof volumes in the volume vector (e.g. the 4th image dimension)
BrainVector
Useful links