export trees, sentences, and counts