convert strlen reply to integer