working on script for getting stats about a corpus