How do I count the number of characters in a document using Open Office?

I just want the number of characters, without spaces. Open Office’s word count counts all characters including spaces.
That tells me the number of characters with the spaces. I want the number of characters withOUT spaces.