I'm wondering if we should maybe be creating a reply message to ensure the command is outputting the reply count, not by mistake some other count? Similarly for the other count tests below. Again, this is might be overkill, up to you whether this change is necessary.