Assuming that is at the end of each line with no spaces after:
sed -z 's/\ //g' file
Consume the file with no line endings (-z) and then replace and and an new line with nothing.
1.4m articles
1.4m replys
5 comments
57.0k users