in reply to replace field

This will update the line as desired:

s/(,)([^,]+)/ $1 . ($2 + 1) /e

Update: As others have pointed out, you also have problems regarding trying to change the file in place. I didn't (notice or) address that.