Chinese frequency analysis with totals, subtotals and Hanyu Pinyin. Requires Java 7.