Fixed up synchronization issue in reduction rings by explicitly counting created and processed messages.