implemented outgoing message counter