Bug fix + corpus statistics in command line