Automatic billing for text editing