Simplify Count writing

Needed for MATH table.
Allow specifying table type as converter

Needed for upcoming MATH table.
Implement MATH table

Fixes https://github.com/behdad/fonttools/issues/67