A tool which collects statistics on a given text.