Bug 1102173 - [Rooms][Polish] Define and implement the final behaviour i...

...n the counter
Take care here. If I type 'hi          (a lot of white spaces)                 how are you' you are just counting the characters, removing all spaces. However, in the server, 100 characters are including these spaces! Use the regular expression for removing the spaces at the beginning, and remove the `trim`.