Calculates the number of volumes in the given nifti image
number of volumes of input nifti file
Generates operand string