isolate active message count limit calculation

Link: https://github.com/GeneAssembly/biosal/issues/629
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>