changed return value of send-message endpoint and added text message counter (experimental)