Ndyns function

Return the total number of dynamic scans in an MRS dataset.