example add msgCount in all-to-all example