add functions to get number of assigned ranks in bam alignment decoders