SDL WorldServer Api- Document processing

Hello,

Does SDL WorldServer have APIs for document processing through which we can get Word Count and other kind of meta data? Our use case is we want to show the word count and price to the user on our website.