Refactored return values of Corpus methods so that an io.StringIO object is consistently returned. Improved the counts output by adding the sum of n-gram counts (allows for determining the number of tokens in the text).