what program counts characters