Added support for statistics

Display statistics: number of chars and number of words