Fix for MessageBag::count()

The count-method now works for more than one message per key.