Clean up a bunch of invocations of #count.

This is the least efficient of the count/size/length methods,
replace most of these calls with #size.
Add a new optimized word frequency analyzer.

If we're only splitting into 1 block, we can compute TFs from the
term vectors rather than reconstructing the full text.
Move some of SearchHelper into a new decorator.
Move base WFA class.