Refined method of computing counts, b/c for an output with x 1-grams, it will have max(x-j+1,0) j-grams
Further refinement to follow, I may end up computing total counts all at the end, and just recording 1-gram counts
as the code runs.