Added reply count at write function