Get response length from actually written data