class/script for collecting counts from tagged corpus (unfinished)