examples/interactive-tcp: fix countBytesD return type